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

Unified Diff: tools/bots/dart_sdk.py

Issue 1239543002: add footer for dartdocs generated for the sdk for analytics and survey (Closed) Base URL: https://github.com/dart-lang/sdk.git@master
Patch Set: fix footer Created 5 years, 5 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 | « no previous file | tools/bots/dartdoc_footer.html » ('j') | 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 bb7b2f4418c80c42299dc51ddabb49a709f9f536..40244cb73364c1fbecd725ba533c78ff7298f741 100644
--- a/tools/bots/dart_sdk.py
+++ b/tools/bots/dart_sdk.py
@@ -42,10 +42,12 @@ def BuildDartdocAPIDocs(dirname):
packages_dir = os.path.join(bot_utils.DART_DIR,
utils.GetBuildRoot(BUILD_OS, 'release', 'ia32'),
'packages')
+ footer_file = os.path.join(bot_utils.DART_DIR,
+ 'tools', 'bots', 'dartdoc_footer.html')
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,
- '--package-root=%s' % packages_dir],
+ '--sdk-docs','--output', dirname, '--dart-sdk', dart_sdk,
+ '--footer' , footer_file, '--package-root=%s' % packages_dir],
stdout=open(os.devnull, 'wb'))
def CreateUploadVersionFile():
« no previous file with comments | « no previous file | tools/bots/dartdoc_footer.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698