Update dartdoc to 0.28.0 and add flags to constrain warnings (#26546)
This commit is contained in:
parent
cf4c903144
commit
4007ff6ee2
@ -103,7 +103,7 @@ if [[ -d "$FLUTTER_PUB_CACHE" ]]; then
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
# Install and activate dartdoc.
|
# Install and activate dartdoc.
|
||||||
"$PUB" global activate dartdoc 0.27.0
|
"$PUB" global activate dartdoc 0.28.0
|
||||||
|
|
||||||
# This script generates a unified doc set, and creates
|
# This script generates a unified doc set, and creates
|
||||||
# a custom index.html, placing everything into dev/docs/doc.
|
# a custom index.html, placing everything into dev/docs/doc.
|
||||||
|
@ -137,6 +137,14 @@ Future<void> main(List<String> arguments) async {
|
|||||||
'--header', 'snippets.html',
|
'--header', 'snippets.html',
|
||||||
'--header', 'opensearch.html',
|
'--header', 'opensearch.html',
|
||||||
'--footer-text', 'lib/footer.html',
|
'--footer-text', 'lib/footer.html',
|
||||||
|
'--allow-warnings-in-packages', <String>[
|
||||||
|
'Flutter',
|
||||||
|
'flutter',
|
||||||
|
'platform_integration',
|
||||||
|
'flutter_test',
|
||||||
|
'flutter_driver',
|
||||||
|
'flutter_localizations',
|
||||||
|
].join(','),
|
||||||
'--exclude-packages',
|
'--exclude-packages',
|
||||||
<String>[
|
<String>[
|
||||||
'analyzer',
|
'analyzer',
|
||||||
|
Loading…
x
Reference in New Issue
Block a user