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

Issue 99703004: Docserver: Fix the TOC rendering for API references by fixing the haphazard way (Closed)

Created:
7 years ago by not at google - send to devlin
Modified:
7 years ago
Reviewers:
mkearney1, Yoyo Zhou
CC:
chromium-reviews, chromium-apps-reviews_chromium.org, extensions-reviews_chromium.org
Visibility:
Public.

Description

Docserver: Fix the TOC rendering for API references by fixing the haphazard way that header tags are used in the API reference (legacy reasons) and adding some features to the TOC document parsing to support a cleaner TOC. BUG=325555 R=mkearney@chromium.org, yoz@chromium.org Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=240228

Patch Set 1 #

Total comments: 4

Patch Set 2 : yoz, mkearney #

Patch Set 3 : rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+171 lines, -104 lines) Patch
M chrome/common/extensions/docs/server2/app.yaml View 1 2 1 chunk +1 line, -1 line 0 comments Download
M chrome/common/extensions/docs/server2/cron.yaml View 1 2 1 chunk +1 line, -1 line 0 comments Download
M chrome/common/extensions/docs/server2/document_parser.py View 1 3 chunks +14 lines, -2 lines 0 comments Download
M chrome/common/extensions/docs/server2/document_parser_test.py View 3 chunks +35 lines, -39 lines 0 comments Download
M chrome/common/extensions/docs/server2/known_broken_links.json View 1 chunk +12 lines, -0 lines 0 comments Download
M chrome/common/extensions/docs/server2/table_of_contents_renderer.py View 1 chunk +2 lines, -1 line 0 comments Download
M chrome/common/extensions/docs/static/css/site.css View 1 5 chunks +23 lines, -16 lines 0 comments Download
M chrome/common/extensions/docs/templates/private/api.html View 1 1 chunk +8 lines, -1 line 0 comments Download
M chrome/common/extensions/docs/templates/private/api_property.html View 2 chunks +2 lines, -2 lines 0 comments Download
M chrome/common/extensions/docs/templates/private/api_reference.html View 3 chunks +2 lines, -3 lines 0 comments Download
M chrome/common/extensions/docs/templates/private/callback.html View 2 chunks +1 line, -2 lines 0 comments Download
M chrome/common/extensions/docs/templates/private/dom_event.html View 1 chunk +3 lines, -2 lines 0 comments Download
M chrome/common/extensions/docs/templates/private/event.html View 2 chunks +8 lines, -6 lines 0 comments Download
M chrome/common/extensions/docs/templates/private/function.html View 1 chunk +9 lines, -4 lines 0 comments Download
M chrome/common/extensions/docs/templates/private/function_details.html View 2 chunks +6 lines, -3 lines 0 comments Download
M chrome/common/extensions/docs/templates/private/parameter_full.html View 1 chunk +14 lines, -5 lines 0 comments Download
M chrome/common/extensions/docs/templates/private/parameter_item.html View 1 chunk +1 line, -1 line 0 comments Download
M chrome/common/extensions/docs/templates/private/property.html View 2 chunks +11 lines, -9 lines 0 comments Download
A chrome/common/extensions/docs/templates/private/property_name_and_type.html View 1 chunk +9 lines, -0 lines 0 comments Download
M chrome/common/extensions/docs/templates/private/table_of_contents_items.html View 1 chunk +3 lines, -1 line 0 comments Download
M chrome/common/extensions/docs/templates/private/type.html View 1 1 chunk +3 lines, -2 lines 0 comments Download
M chrome/common/extensions/docs/templates/private/type_item.html View 1 chunk +3 lines, -3 lines 0 comments Download

Messages

Total messages: 6 (0 generated)
not at google - send to devlin
Yoyo for the server stuff (and the content if you'd like), Meggin for the content. ...
7 years ago (2013-12-10 19:31:14 UTC) #1
Yoyo Zhou
LGTM Does this fix https://code.google.com/p/chromium/issues/detail?id=323713 also now? https://codereview.chromium.org/99703004/diff/1/chrome/common/extensions/docs/server2/document_parser.py File chrome/common/extensions/docs/server2/document_parser.py (right): https://codereview.chromium.org/99703004/diff/1/chrome/common/extensions/docs/server2/document_parser.py#newcode135 chrome/common/extensions/docs/server2/document_parser.py:135: # The ...
7 years ago (2013-12-10 23:48:22 UTC) #2
mkearney1
Tonight, I just did a visual test off of patch preview. So I'm putting review ...
7 years ago (2013-12-11 02:00:27 UTC) #3
mkearney1
lgtm... with reminder to make sure Eric B knows about site.css changes.
7 years ago (2013-12-11 22:20:09 UTC) #4
not at google - send to devlin
https://codereview.chromium.org/99703004/diff/1/chrome/common/extensions/docs/server2/document_parser.py File chrome/common/extensions/docs/server2/document_parser.py (right): https://codereview.chromium.org/99703004/diff/1/chrome/common/extensions/docs/server2/document_parser.py#newcode135 chrome/common/extensions/docs/server2/document_parser.py:135: # The document can specify title="" to ignore the ...
7 years ago (2013-12-11 22:23:22 UTC) #5
not at google - send to devlin
7 years ago (2013-12-12 00:16:51 UTC) #6
Message was sent while issue was closed.
Committed patchset #3 manually as r240228 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698