Unverified Commit f3674ccf authored by Keerti Parthasarathy's avatar Keerti Parthasarathy Committed by GitHub

Update dartdoc to 28.4 (#37314)

parent 76d13ab3
...@@ -104,7 +104,7 @@ if [[ -d "$FLUTTER_PUB_CACHE" ]]; then ...@@ -104,7 +104,7 @@ if [[ -d "$FLUTTER_PUB_CACHE" ]]; then
fi fi
# Install and activate dartdoc. # Install and activate dartdoc.
"$PUB" global activate dartdoc 0.28.3+2 "$PUB" global activate dartdoc 0.28.4
# 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.
......
...@@ -123,6 +123,8 @@ Future<void> main(List<String> arguments) async { ...@@ -123,6 +123,8 @@ Future<void> main(List<String> arguments) async {
); );
print('\n${result.stdout}flutter version: $version\n'); print('\n${result.stdout}flutter version: $version\n');
dartdocBaseArgs.add('--allow-tools');
if (args['json']) { if (args['json']) {
dartdocBaseArgs.add('--json'); dartdocBaseArgs.add('--json');
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment