Bump dartdoc to ab98003fc368f484fcc4c055770adea47bc83fbd

Change-Id: I1e1713428bbd5ab713a62aff70d83cc502dde9f9
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/162250
Reviewed-by: Devon Carew <devoncarew@google.com>
Commit-Queue: Samuel Rawlins <srawlins@google.com>
This commit is contained in:
Sam Rawlins 2020-09-10 02:20:30 +00:00 committed by commit-bot@chromium.org
parent 50dfbe9579
commit 4585d4af0a
3 changed files with 10 additions and 2 deletions

2
DEPS
View file

@ -97,7 +97,7 @@ vars = {
"dart_style_tag": "1.3.7", # Please see the note above before updating.
"chromedriver_tag": "83.0.4103.39",
"dartdoc_rev" : "b039e21a7226b61ca2de7bd6c7a07fc77d4f64a9",
"dartdoc_rev" : "ab98003fc368f484fcc4c055770adea47bc83fbd",
"ffi_rev": "454ab0f9ea6bd06942a983238d8a6818b1357edb",
"fixnum_rev": "16d3890c6dc82ca629659da1934e412292508bba",
"glob_rev": "e9f4e6b7ae8abe5071461cf8f47191bb19cf7ef6",

View file

@ -41,13 +41,16 @@ def BuildDartdocAPIDocs(dirname):
dart_exe = os.path.join(dart_sdk, 'bin', 'dart')
dartdoc_dart = os.path.join(bot_utils.DART_DIR, 'third_party', 'pkg',
'dartdoc', 'bin', 'dartdoc.dart')
footer_text_file = os.path.join(bot_utils.DART_DIR, 'tools', 'bots',
'dartdoc_footer_text.html')
footer_file = os.path.join(bot_utils.DART_DIR, 'tools', 'bots',
'dartdoc_footer.html')
url = 'https://api.dartlang.org/stable'
with bot.BuildStep('Build API docs by dartdoc'):
bot_utils.run([
dart_exe, dartdoc_dart, '--sdk-docs', '--output', dirname,
'--enable-experiment', 'non-nullable', '--footer', footer_file,
'--enable-experiment', 'non-nullable', '--footer-text',
footer_text_file, '--footer', footer_file,
'--rel-canonical-prefix=' + url
])

View file

@ -0,0 +1,5 @@
&bull;
<span class="copyright no-break">
<a href="http://creativecommons.org/licenses/by/4.0/">Site CC BY 4.0</a>
</span>