Reland "Use dartpad's main channel for master/main docs (#144329)" (#144431)

Fix is in the second commit. The logic here went out of sync with the logic in the snippets generator from https://github.com/flutter/assets-for-api-docs, whose version was bumped as part of this change.
This commit is contained in:
Michael Goderbauer
2024-02-29 15:10:53 -08:00
committed by GitHub
parent f3ce9d2fcb
commit e41ffcb742
4 changed files with 7 additions and 7 deletions

View File

@@ -116,7 +116,7 @@ function generate_docs() {
# Install and activate the snippets tool, which resides in the
# assets-for-api-docs repo:
# https://github.com/flutter/assets-for-api-docs/tree/master/packages/snippets
"$DART" pub global activate snippets 0.4.0
"$DART" pub global activate snippets 0.4.2
# This script generates a unified doc set, and creates
# a custom index.html, placing everything into DOC_DIR.