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 |