diff --git a/dev/bots/docs.sh b/dev/bots/docs.sh index 21dbde1022..a22faa26ae 100755 --- a/dev/bots/docs.sh +++ b/dev/bots/docs.sh @@ -20,7 +20,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.35.0 + "$PUB" global activate dartdoc 0.36.0 # This script generates a unified doc set, and creates # a custom index.html, placing everything into dev/docs/doc. diff --git a/dev/tools/dartdoc.dart b/dev/tools/dartdoc.dart index f7768fc193..a726bb4fd5 100644 --- a/dev/tools/dartdoc.dart +++ b/dev/tools/dartdoc.dart @@ -139,7 +139,6 @@ Future main(List arguments) async { final List dartdocArgs = [ ...dartdocBaseArgs, '--allow-tools', - '--enable-experiment=non-nullable', if (args['json'] as bool) '--json', if (args['validate-links'] as bool) '--validate-links' else '--no-validate-links', '--link-to-source-excludes', '../../bin/cache',