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