-
Notifications
You must be signed in to change notification settings - Fork 118
Creating and uploading docs for the Dart SDK
Sam Rawlins edited this page Oct 12, 2022
·
1 revision
These are instructions to manually generate docs for the Dart SDK and upload to GCS storage to be served on api.dartlang.org.
NOTE: Permissions are required to upload to GCS. Also need to have gsutil installed.
$ dartdoc --dart-sdk /pathTo/dart-sdk1.11.3 --sdk-docs --output ~/sdkDocs
--footer /pathTo/sdk/tools/bots/dartdoc_footer.html --rel-canonical-prefix=https://api.dartlang.org/stable
$ cd ~/sdkDocs/doc/api
$ gsutil -m cp -a public-read -R . gs://dartlang-api-docs/gen-dartdocs/1.11.3