Bump dartdoc to 0.34.0 (#66048)

This commit is contained in:
Michael Goderbauer 2020-09-22 12:57:13 -07:00 committed by GitHub
parent 68fd603dd0
commit 923eb765f0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 6 additions and 1 deletions

View File

@ -16,6 +16,7 @@ dartdoc:
# Default errors of dartdoc:
- duplicate-file
- invalid-parameter
- no-defining-library-found
- tool-error
- unresolved-export
# Warnings that are elevated to errors:
@ -23,6 +24,7 @@ dartdoc:
- ambiguous-reexport
- broken-link
- category-order-gives-missing-package-name
- deprecated
- ignored-canonical-for
- missing-from-search-index
- no-canonical-found
@ -30,6 +32,7 @@ dartdoc:
- not-implemented
- orphaned-file
- reexported-private-api-across-packages
# - unknown-directive # Disabled due to https://github.com/dart-lang/dartdoc/issues/2353
- unknown-file
- unknown-macro
- unresolved-doc-reference

View File

@ -37,7 +37,9 @@ function script_location() {
function generate_docs() {
# Install and activate dartdoc.
"$PUB" global activate dartdoc 0.32.4
# NOTE: When updating to a new dartdoc version, please also update
# `dartdoc_options.yaml` to include newly introduced error and warning types.
"$PUB" global activate dartdoc 0.34.0
# This script generates a unified doc set, and creates
# a custom index.html, placing everything into dev/docs/doc.