From e9a9a6104cf86c44f90439d17758967be55a5627 Mon Sep 17 00:00:00 2001 From: Janice Collins Date: Wed, 7 Oct 2020 08:47:05 -0700 Subject: [PATCH] Update dartdoc to 0.35.0 (#67432) --- dartdoc_options.yaml | 1 + dev/bots/docs.sh | 2 +- dev/docs/dartdoc_options.yaml | 5 +++++ 3 files changed, 7 insertions(+), 1 deletion(-) create mode 100644 dev/docs/dartdoc_options.yaml diff --git a/dartdoc_options.yaml b/dartdoc_options.yaml index 822f9e87ee..cbef352566 100644 --- a/dartdoc_options.yaml +++ b/dartdoc_options.yaml @@ -28,6 +28,7 @@ dartdoc: - ignored-canonical-for - missing-from-search-index - no-canonical-found + - no-documentable-libraries - no-library-level-docs - not-implemented - orphaned-file diff --git a/dev/bots/docs.sh b/dev/bots/docs.sh index 010ba6a8ef..d81be4ba7e 100755 --- a/dev/bots/docs.sh +++ b/dev/bots/docs.sh @@ -39,7 +39,7 @@ function generate_docs() { # Install and activate dartdoc. # 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 + "$PUB" global activate dartdoc 0.35.0 # This script generates a unified doc set, and creates # a custom index.html, placing everything into dev/docs/doc. diff --git a/dev/docs/dartdoc_options.yaml b/dev/docs/dartdoc_options.yaml new file mode 100644 index 0000000000..6980c6a563 --- /dev/null +++ b/dev/docs/dartdoc_options.yaml @@ -0,0 +1,5 @@ +dartdoc: + ignore: + # The stub `Flutter` package is expected to have no + # documentable libraries. + - no-documentable-libraries