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

Unified Diff: chrome/common/extensions/docs/build/build.py

Issue 10834130: Extensions Docs Server: Doc conversion script - SVN (Closed) Base URL: https://src.chromium.org/chrome/trunk/src/
Patch Set: Created 8 years, 4 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
Index: chrome/common/extensions/docs/build/build.py
===================================================================
--- chrome/common/extensions/docs/build/build.py (revision 150390)
+++ chrome/common/extensions/docs/build/build.py (working copy)
@@ -188,6 +188,18 @@
default=True)
options, args = parser.parse_args()
+ # This is a script that converts the documentation from the old style (using
+ # build.py, etc.) to the new style. The new docs and docs server can be found
+ # in the ../server2 directory.
+ Popen([os.path.join(_base_dir, 'server2', 'converter.py'),
+ os.path.join(_base_dir, 'static'),
+ os.path.join(_base_dir, os.pardir, 'api'),
+ os.path.join(_base_dir, 'server2', 'templates', 'articles'),
+ os.path.join(_base_dir, 'server2', 'templates', 'intros'),
+ os.path.join(_base_dir, 'server2', 'templates', 'public'),
+ os.path.join(_base_dir, 'server2', 'static', 'images'),
+ '-r'])
+
if (options.dump_render_tree_path and
os.path.isfile(options.dump_render_tree_path)):
dump_render_tree = options.dump_render_tree_path

Powered by Google App Engine
This is Rietveld 408576698