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

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

Issue 10832042: Extensions Docs Server: Doc conversion script (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: everything but svn stuff Created 8 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
Index: chrome/common/extensions/docs/build/build.py
diff --git a/chrome/common/extensions/docs/build/build.py b/chrome/common/extensions/docs/build/build.py
index 233a826419d5e73560383aec85e25fe2ba731a3f..5d9be078631b2484476dfa019fea3d8732f011f9 100755
--- a/chrome/common/extensions/docs/build/build.py
+++ b/chrome/common/extensions/docs/build/build.py
@@ -188,6 +188,18 @@ def main():
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