Update dartdoc to v0.18.1 and fix API readme (#16080)

* Update dartdoc to v0.18.1 and fix API readme, borrowing from docs.flutter.io
This commit is contained in:
jcollins-g
2018-03-30 12:19:44 -07:00
committed by GitHub
parent 71bd094806
commit e9541729a3
3 changed files with 31 additions and 25 deletions

View File

@@ -6,6 +6,7 @@ echo "Running docs.sh"
# If you want to run this script locally, make sure you run it from
# the root of the flutter repository.
export FLUTTER_ROOT="$PWD"
export PATH="$PWD/bin:$PATH"
# This is called from travis_upload.sh on Travis.
@@ -21,7 +22,7 @@ if [ -d "$FLUTTER_PUB_CACHE" ]; then
fi
# Install dartdoc.
bin/cache/dart-sdk/bin/pub global activate dartdoc 0.17.1+1
bin/cache/dart-sdk/bin/pub global activate dartdoc 0.18.1
# This script generates a unified doc set, and creates
# a custom index.html, placing everything into dev/docs/doc.