Update dartdoc to 0.28.0 and add flags to constrain warnings (#26546)

This commit is contained in:
Janice Collins 2019-01-14 16:18:17 -08:00 committed by GitHub
parent cf4c903144
commit 4007ff6ee2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 9 additions and 1 deletions

View File

@ -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.

View File

@ -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',