summaryrefslogtreecommitdiffstats
path: root/o3d/documentation/build_docs.py
diff options
context:
space:
mode:
authorgman@google.com <gman@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2009-07-15 23:25:13 +0000
committergman@google.com <gman@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2009-07-15 23:25:13 +0000
commit198a4cc4264c83a9dfbeb6c000edfbe130dc4001 (patch)
treef5ba325761d2a01dd128d107369822025a7e56fd /o3d/documentation/build_docs.py
parent1af924c1a438a37bd270d3f6d06c320732972ba4 (diff)
downloadchromium_src-198a4cc4264c83a9dfbeb6c000edfbe130dc4001.zip
chromium_src-198a4cc4264c83a9dfbeb6c000edfbe130dc4001.tar.gz
chromium_src-198a4cc4264c83a9dfbeb6c000edfbe130dc4001.tar.bz2
More docs changes.
*) Made enums show up *) Right justified return type *) moved class name to right column in summary area *) pretty print code examples *) changed [inherited] to [inhertied from <class>] *) Changed name in details area to Class.Name or Namespace.Name *) Add subtypes so ParticleEmitter shows up in docs for o3djs.particle *) Grabbed new nixysa so properties show up Review URL: http://codereview.chromium.org/155600 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@20806 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'o3d/documentation/build_docs.py')
-rwxr-xr-xo3d/documentation/build_docs.py26
1 files changed, 15 insertions, 11 deletions
diff --git a/o3d/documentation/build_docs.py b/o3d/documentation/build_docs.py
index 72669a3..d244524 100755
--- a/o3d/documentation/build_docs.py
+++ b/o3d/documentation/build_docs.py
@@ -171,7 +171,7 @@ def RunJSDocToolkit(js_files, ezt_output_dir, html_output_dir, prefix, mode,
def BuildJavaScriptForDocsFromIDLs(idl_files, output_dir):
- RunNixysa(idl_files, 'jsheader', output_dir, [])
+ RunNixysa(idl_files, 'jsheader', output_dir, ['--properties-equal-undefined'])
def BuildJavaScriptForExternsFromIDLs(idl_files, output_dir):
@@ -212,18 +212,20 @@ def BuildCompiledO3DJS(o3djs_files,
MakePath('JSCompiler_deploy.jar'),
'--property_renaming', 'OFF',
'--variable_renaming', 'LOCAL',
+ '--remove_dead_assignments', 'false',
+ '--remove_dead_code', 'false',
+ '--remove_unused_vars', 'false',
+ '--remove_unused_prototype_props', 'false',
+ #'--check_missing_return', 'true',
+ #
+ '--collapse_variable_declarations', 'false',
+ '--disable_function_inline', 'true',
+ #'--disable_convert_to_dotted_properties', 'true',
+ #'--inline_functions', 'false',
# TODO(gman): Remove the flags below once the compiled js actually works.
#'--pretty_print',
- #'--inline_functions', 'False',
- #'--remove_dead_code', 'False',
- #'--remove_unused_vars', 'False',
- #'--remove_unused_prototype_props', 'False',
- #'--collapse_variable_declarations', 'False',
- #'--collapse_variable_declarations', 'OFF',
- #'--disable_function_inline', 'True',
- #'--print_input_delimiter', 'True',
- #'--remove_dead_assignments', 'False',
- #'--strip_whitespace_and_comments_only', 'True',
+ #'--print_input_delimiter', 'true',
+ #'--strip_whitespace_and_comments_only', 'true',
##'--logging_level', '',
'--strict',
'--externs=%s' % externs_path,
@@ -234,6 +236,8 @@ def BuildCompiledO3DJS(o3djs_files,
def CopyStaticFiles(o3d_docs_ezt_outpath, o3d_docs_html_outpath):
files = ['stylesheet.css',
+ 'prettify.css',
+ 'prettify.js',
'tabs.css',
'tab_l.gif',
'tab_r.gif',