diff --git a/lib/resources/blank.txt b/lib/resources/blank.txt new file mode 100644 index 0000000000..e69de29bb2 diff --git a/tool/task.dart b/tool/task.dart index 65f2c45ef7..862fbc984f 100644 --- a/tool/task.dart +++ b/tool/task.dart @@ -541,6 +541,14 @@ Future>> _docSdk({ '--sdk-docs', '--json', '--show-progress', + // Use some local assets for the header and footers, to override the SDK + // values, from an options file, which includes not-shipped files. + '--header', + 'lib/resources/blank.txt', + '--footer', + 'lib/resources/blank.txt', + '--footer-text', + 'lib/resources/blank.txt', ], workingDirectory: dartdocPath, );