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

Issue 159607: Extension docs build script, gyp target and PRESUBMIT.PY check (Closed)

Created:
11 years, 4 months ago by rafaelw
Modified:
9 years, 7 months ago
CC:
chromium-reviews_googlegroups.com
Visibility:
Public.

Description

Extension docs build script, gyp target and PRESUBMIT.PY check This addeds a mechanism for extension docs to "render" from the api/extension_api.json api "idl", the docs/static file content and the template/ html templates into the static extension docs. It retains the property that extension docs loaded in chrome with file:/// scheme will regenerate if dependent data has changed, but otherwise is static. The build.py script runs test_shell to render the static files. A extension_docs gyp target is defined with appropriate inputs & outputs that will run the build.py A PRESUBMIT.PY check will warn on upload and commit if any files have changed that would require a docs rebuild. Note that the PRESUBMIT.PY checks are not currently being run for git cl upload or git cl dcommit. Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=22300

Patch Set 1 #

Patch Set 2 : pre cr #

Patch Set 3 : more pre cr #

Total comments: 17

Patch Set 4 : cr changes. added simplejson #

Patch Set 5 : build paths for linux & mac #

Total comments: 18

Patch Set 6 : cr changes #

Total comments: 1

Patch Set 7 : rebase #

Patch Set 8 : last cr change #

Patch Set 9 : remove build step from mac #

Patch Set 10 : remove build step on mac #

Unified diffs Side-by-side diffs Delta from patch set Stats (+10141 lines, -974 lines) Patch
M chrome/chrome.gyp View 2 3 4 5 6 7 8 1 chunk +19 lines, -0 lines 0 comments Download
M chrome/common/common_resources.grd View 1 chunk +1 line, -1 line 0 comments Download
A chrome/common/extensions/PRESUBMIT.PY View 2 3 1 chunk +62 lines, -0 lines 0 comments Download
M chrome/common/extensions/api/extension_api.json View 1 chunk +400 lines, -487 lines 0 comments Download
M chrome/common/extensions/docs/api_index.html View 1 2 3 1 chunk +1 line, -46 lines 0 comments Download
M chrome/common/extensions/docs/bookmarks.html View 1 2 3 1 chunk +1 line, -46 lines 0 comments Download
A chrome/common/extensions/docs/build/build.py View 1 2 3 4 5 6 7 8 1 chunk +164 lines, -0 lines 0 comments Download
A chrome/common/extensions/docs/build/generator.html View 1 2 1 chunk +38 lines, -0 lines 0 comments Download
M chrome/common/extensions/docs/devguide.html View 1 2 3 1 chunk +1 line, -46 lines 0 comments Download
M chrome/common/extensions/docs/getstarted.html View 1 2 3 1 chunk +1 line, -46 lines 0 comments Download
M chrome/common/extensions/docs/index.html View 1 2 3 1 chunk +1 line, -46 lines 0 comments Download
M chrome/common/extensions/docs/js/api_page_generator.js View 1 2 3 4 5 6 7 8 12 chunks +31 lines, -18 lines 0 comments Download
A chrome/common/extensions/docs/js/bootstrap.js View 1 chunk +11 lines, -0 lines 0 comments Download
M chrome/common/extensions/docs/overview.html View 1 2 3 1 chunk +1 line, -46 lines 0 comments Download
M chrome/common/extensions/docs/pageActions.html View 1 2 3 1 chunk +1 line, -46 lines 0 comments Download
M chrome/common/extensions/docs/self.html View 1 2 3 1 chunk +1 line, -46 lines 0 comments Download
M chrome/common/extensions/docs/tabs.html View 1 2 3 1 chunk +1 line, -46 lines 0 comments Download
M chrome/common/extensions/docs/template/page_shell.html View 1 2 3 1 chunk +1 line, -13 lines 0 comments Download
M chrome/common/extensions/docs/windows.html View 1 2 3 1 chunk +1 line, -46 lines 0 comments Download
A third_party/python_24/Lib/site-packages/simplejson.pth View 1 chunk +4 lines, -0 lines 0 comments Download
A third_party/simplejson/LICENSE.txt View 1 chunk +19 lines, -0 lines 0 comments Download
A third_party/simplejson/PKG-INFO View 1 chunk +29 lines, -0 lines 0 comments Download
A third_party/simplejson/conf.py View 1 chunk +179 lines, -0 lines 0 comments Download
A third_party/simplejson/docs/_sources/index.txt View 1 chunk +428 lines, -0 lines 0 comments Download
A third_party/simplejson/docs/_static/contents.png View 0 chunks +-1 lines, --1 lines 0 comments Download
A third_party/simplejson/docs/_static/default.css View 1 chunk +833 lines, -0 lines 0 comments Download
A third_party/simplejson/docs/_static/doctools.js View 1 chunk +352 lines, -0 lines 0 comments Download
A third_party/simplejson/docs/_static/file.png View 0 chunks +-1 lines, --1 lines 0 comments Download
A third_party/simplejson/docs/_static/interface.js View 1 chunk +8 lines, -0 lines 0 comments Download
A third_party/simplejson/docs/_static/jquery.js View 1 chunk +32 lines, -0 lines 0 comments Download
A third_party/simplejson/docs/_static/minus.png View 0 chunks +-1 lines, --1 lines 0 comments Download
A third_party/simplejson/docs/_static/navigation.png View 0 chunks +-1 lines, --1 lines 0 comments Download
A third_party/simplejson/docs/_static/plus.png View 0 chunks +-1 lines, --1 lines 0 comments Download
A third_party/simplejson/docs/_static/pygments.css View 1 chunk +59 lines, -0 lines 0 comments Download
A third_party/simplejson/docs/_static/rightsidebar.css View 1 chunk +16 lines, -0 lines 0 comments Download
A third_party/simplejson/docs/_static/searchtools.js View 1 chunk +404 lines, -0 lines 0 comments Download
A third_party/simplejson/docs/_static/sphinxdoc.css View 1 chunk +504 lines, -0 lines 0 comments Download
A third_party/simplejson/docs/_static/stickysidebar.css View 1 chunk +19 lines, -0 lines 0 comments Download
A third_party/simplejson/docs/_static/traditional.css View 1 chunk +700 lines, -0 lines 0 comments Download
A third_party/simplejson/docs/genindex.html View 1 chunk +135 lines, -0 lines 0 comments Download
A third_party/simplejson/docs/index.html View 7 1 chunk +503 lines, -0 lines 0 comments Download
A third_party/simplejson/docs/search.html View 1 chunk +81 lines, -0 lines 0 comments Download
A third_party/simplejson/docs/searchindex.json View 1 chunk +1 line, -0 lines 0 comments Download
A third_party/simplejson/ez_setup.py View 1 chunk +233 lines, -0 lines 0 comments Download
A third_party/simplejson/index.rst View 1 chunk +428 lines, -0 lines 0 comments Download
A third_party/simplejson/scripts/make_docs.py View 1 chunk +17 lines, -0 lines 0 comments Download
A third_party/simplejson/setup.cfg View 1 chunk +5 lines, -0 lines 0 comments Download
A third_party/simplejson/setup.py View 1 chunk +122 lines, -0 lines 0 comments Download
A third_party/simplejson/simplejson.egg-info/PKG-INFO View 1 chunk +29 lines, -0 lines 0 comments Download
A third_party/simplejson/simplejson.egg-info/SOURCES.txt View 1 chunk +54 lines, -0 lines 0 comments Download
A third_party/simplejson/simplejson.egg-info/dependency_links.txt View 1 chunk +1 line, -0 lines 0 comments Download
A third_party/simplejson/simplejson.egg-info/top_level.txt View 1 chunk +1 line, -0 lines 0 comments Download
A third_party/simplejson/simplejson.egg-info/zip-safe View 1 chunk +1 line, -0 lines 0 comments Download
A third_party/simplejson/simplejson/__init__.py View 1 chunk +318 lines, -0 lines 0 comments Download
A third_party/simplejson/simplejson/_speedups.c View 1 chunk +2329 lines, -0 lines 0 comments Download
A third_party/simplejson/simplejson/decoder.py View 1 chunk +354 lines, -0 lines 0 comments Download
A third_party/simplejson/simplejson/encoder.py View 1 chunk +440 lines, -0 lines 0 comments Download
A third_party/simplejson/simplejson/scanner.py View 1 chunk +65 lines, -0 lines 0 comments Download
A third_party/simplejson/simplejson/tests/__init__.py View 1 chunk +23 lines, -0 lines 0 comments Download
A third_party/simplejson/simplejson/tests/test_check_circular.py View 1 chunk +30 lines, -0 lines 0 comments Download
A third_party/simplejson/simplejson/tests/test_decode.py View 1 chunk +22 lines, -0 lines 0 comments Download
A third_party/simplejson/simplejson/tests/test_default.py View 1 chunk +9 lines, -0 lines 0 comments Download
A third_party/simplejson/simplejson/tests/test_dump.py View 1 chunk +21 lines, -0 lines 0 comments Download
A third_party/simplejson/simplejson/tests/test_encode_basestring_ascii.py View 1 chunk +38 lines, -0 lines 0 comments Download
A third_party/simplejson/simplejson/tests/test_fail.py View 1 chunk +76 lines, -0 lines 0 comments Download
A third_party/simplejson/simplejson/tests/test_float.py View 1 chunk +15 lines, -0 lines 0 comments Download
A third_party/simplejson/simplejson/tests/test_indent.py View 1 chunk +41 lines, -0 lines 0 comments Download
A third_party/simplejson/simplejson/tests/test_pass1.py View 1 chunk +76 lines, -0 lines 0 comments Download
A third_party/simplejson/simplejson/tests/test_pass2.py View 1 chunk +14 lines, -0 lines 0 comments Download
A third_party/simplejson/simplejson/tests/test_pass3.py View 1 chunk +20 lines, -0 lines 0 comments Download
A third_party/simplejson/simplejson/tests/test_recursion.py View 1 chunk +67 lines, -0 lines 0 comments Download
A third_party/simplejson/simplejson/tests/test_scanstring.py View 1 chunk +111 lines, -0 lines 0 comments Download
A third_party/simplejson/simplejson/tests/test_separators.py View 1 chunk +42 lines, -0 lines 0 comments Download
A third_party/simplejson/simplejson/tests/test_unicode.py View 1 chunk +64 lines, -0 lines 0 comments Download
A third_party/simplejson/simplejson/tool.py View 1 chunk +37 lines, -0 lines 0 comments Download

Messages

Total messages: 9 (0 generated)
Aaron Boodman
lgtm http://codereview.chromium.org/159607/diff/1022/36 File chrome/common/extensions/docs/api_index.html (right): http://codereview.chromium.org/159607/diff/1022/36#newcode1 Line 1: <!DOCTYPE html><!-- This page is a placeholder ...
11 years, 4 months ago (2009-07-30 23:14:45 UTC) #1
asargent_no_longer_on_chrome
http://codereview.chromium.org/159607/diff/1022/35 File chrome/common/extensions/PRESUBMIT.PY (right): http://codereview.chromium.org/159607/diff/1022/35#newcode1 Line 1: import os missing copyright http://codereview.chromium.org/159607/diff/1022/35#newcode21 Line 21: def ...
11 years, 4 months ago (2009-07-31 01:14:05 UTC) #2
rafaelw
Aaron & Antony jumped the gun, but this CL is now ready for review. (I've ...
11 years, 4 months ago (2009-07-31 03:00:30 UTC) #3
sgk
Needs refactoring between the .gyp file and build.py. There's too much hard-coded information that would ...
11 years, 4 months ago (2009-07-31 16:40:58 UTC) #4
Daniel Berlin
LGTM for the simplejson stuff. On Thu, Jul 30, 2009 at 8:00 PM, <rafaelw@chromium.org> wrote: ...
11 years, 4 months ago (2009-07-31 17:29:37 UTC) #5
rafaelw
Ok. Hopefully, I've addressed all of sgk's comments with this revision. asargent, do I have ...
11 years, 4 months ago (2009-07-31 22:50:58 UTC) #6
sgk
lgtm http://codereview.chromium.org/159607/diff/1178/212 File chrome/common/extensions/docs/build/build.py (right): http://codereview.chromium.org/159607/diff/1178/212#newcode114 Line 114: input_files += [GetRelativePath(_js_dir + "/" + x) ...
11 years, 4 months ago (2009-08-01 00:12:17 UTC) #7
asargent_no_longer_on_chrome
LGTM. FYI, there's nothing special about 'x' in list comprehensions; you can make up any ...
11 years, 4 months ago (2009-08-01 00:31:43 UTC) #8
M-A Ruel
11 years, 4 months ago (2009-08-03 20:08:22 UTC) #9
Crap, that should never have got in.

Powered by Google App Engine
This is Rietveld 408576698