Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(28)

Unified Diff: tools/bots/dart_sdk.py

Issue 1360823002: rev up dartdoc, markdown (Closed) Base URL: https://github.com/dart-lang/sdk.git@master
Patch Set: split option into two args Created 5 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « DEPS ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/bots/dart_sdk.py
diff --git a/tools/bots/dart_sdk.py b/tools/bots/dart_sdk.py
index 3d6ab9c38a410b3e882637463ce7fe860ee07721..decf8766ab67e9f50845fdaa6351b56231cea0a1 100644
--- a/tools/bots/dart_sdk.py
+++ b/tools/bots/dart_sdk.py
@@ -37,10 +37,12 @@ def BuildDartdocAPIDocs(dirname):
'packages')
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'):
subprocess.call([dart_exe, '--package-root=' + packages_dir, dartdoc_dart,
'--sdk-docs','--output', dirname, '--dart-sdk', dart_sdk,
- '--footer' , footer_file],
+ '--footer' , footer_file,
+ '--rel-canonical-prefix=' + url],
stdout=open(os.devnull, 'wb'))
def CreateUploadVersionFile():
« no previous file with comments | « DEPS ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698