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

Issue 14322003: Inline docs render properly in extensions doc server. (Closed)

Created:
7 years, 8 months ago by jshumway
Modified:
7 years, 8 months ago
CC:
chromium-reviews, benjhayden+dwatch_chromium.org, Aaron Boodman, chromium-apps-reviews_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Visibility:
Public.

Description

Inline docs render properly in extensions doc server. Documents in idl files with the [inline_doc] attribute are now properly rendered inline. Links to inline docs no longer work and will cause errors. BUG=187494 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=196593

Patch Set 1 #

Total comments: 7

Patch Set 2 : Codereview changes #

Patch Set 3 : Inline doc fixes #

Patch Set 4 : Merged with master #

Total comments: 4

Patch Set 5 : Comment and whitespace fixes #

Total comments: 12

Patch Set 6 : Display and test changes #

Total comments: 9

Patch Set 7 : Better test and inline doc function #

Total comments: 2

Patch Set 8 : Small test changes #

Unified diffs Side-by-side diffs Delta from patch set Stats (+119 lines, -12 lines) Patch
M AUTHORS View 1 2 3 4 5 1 chunk +1 line, -0 lines 0 comments Download
M chrome/common/extensions/api/downloads.idl View 1 3 chunks +11 lines, -10 lines 0 comments Download
M chrome/common/extensions/docs/server2/api_data_source.py View 1 2 3 4 5 6 3 chunks +39 lines, -0 lines 0 comments Download
M chrome/common/extensions/docs/server2/api_data_source_test.py View 1 2 3 4 5 6 7 3 chunks +68 lines, -2 lines 0 comments Download

Messages

Total messages: 29 (0 generated)
jshumway
7 years, 8 months ago (2013-04-17 03:08:12 UTC) #1
benjhayden
Would you mind staging them? pushd chrome/common/extensions/docs/server2; (python preview.py &>/dev/null &);popd
7 years, 8 months ago (2013-04-17 13:25:56 UTC) #2
benjhayden
https://codereview.chromium.org/14322003/diff/1/chrome/common/extensions/api/downloads.idl File chrome/common/extensions/api/downloads.idl (right): https://codereview.chromium.org/14322003/diff/1/chrome/common/extensions/api/downloads.idl#newcode35 chrome/common/extensions/api/downloads.idl:35: // The action to take if $ref:FilenameSuggestion.filename already exists. ...
7 years, 8 months ago (2013-04-17 13:28:18 UTC) #3
jshumway
We have the patch running here: http://chrome-apps-doc2.appspot.com/extensions/ There are many inline documents on this page: ...
7 years, 8 months ago (2013-04-17 23:54:39 UTC) #4
cduvall
https://codereview.chromium.org/14322003/diff/1/chrome/common/extensions/docs/server2/api_data_source.py File chrome/common/extensions/docs/server2/api_data_source.py (right): https://codereview.chromium.org/14322003/diff/1/chrome/common/extensions/docs/server2/api_data_source.py#newcode41 chrome/common/extensions/docs/server2/api_data_source.py:41: """ Replace '$ref's that refer to inline_docs with the ...
7 years, 8 months ago (2013-04-18 00:02:41 UTC) #5
benjhayden
Did something happen to onDeterminingFilename? I don't see it on chrome-apps-doc2.
7 years, 8 months ago (2013-04-18 01:07:09 UTC) #6
jshumway
https://codereview.chromium.org/14322003/diff/1/chrome/common/extensions/api/downloads.idl File chrome/common/extensions/api/downloads.idl (right): https://codereview.chromium.org/14322003/diff/1/chrome/common/extensions/api/downloads.idl#newcode35 chrome/common/extensions/api/downloads.idl:35: // The action to take if $ref:FilenameSuggestion.filename already exists. ...
7 years, 8 months ago (2013-04-18 01:14:19 UTC) #7
jshumway
On 2013/04/18 01:07:09, benjhayden_chromium wrote: > Did something happen to onDeterminingFilename? I don't see it ...
7 years, 8 months ago (2013-04-18 01:19:40 UTC) #8
benjhayden
https://codereview.chromium.org/14322003/diff/1/chrome/common/extensions/api/downloads.idl File chrome/common/extensions/api/downloads.idl (right): https://codereview.chromium.org/14322003/diff/1/chrome/common/extensions/api/downloads.idl#newcode35 chrome/common/extensions/api/downloads.idl:35: // The action to take if $ref:FilenameSuggestion.filename already exists. ...
7 years, 8 months ago (2013-04-18 15:08:46 UTC) #9
jshumway
Good point. Turns out that the error was not being raised because descriptions were being ...
7 years, 8 months ago (2013-04-19 20:35:34 UTC) #10
jshumway
7 years, 8 months ago (2013-04-19 20:35:43 UTC) #11
cduvall
https://codereview.chromium.org/14322003/diff/24001/chrome/common/extensions/docs/server2/api_data_source.py File chrome/common/extensions/docs/server2/api_data_source.py (right): https://codereview.chromium.org/14322003/diff/24001/chrome/common/extensions/docs/server2/api_data_source.py#newcode39 chrome/common/extensions/docs/server2/api_data_source.py:39: # Gather the types with inline_doc. This comment confuses ...
7 years, 8 months ago (2013-04-24 00:09:54 UTC) #12
jshumway
Removed some newlines. https://codereview.chromium.org/14322003/diff/24001/chrome/common/extensions/docs/server2/api_data_source.py File chrome/common/extensions/docs/server2/api_data_source.py (right): https://codereview.chromium.org/14322003/diff/24001/chrome/common/extensions/docs/server2/api_data_source.py#newcode39 chrome/common/extensions/docs/server2/api_data_source.py:39: # Gather the types with inline_doc. ...
7 years, 8 months ago (2013-04-24 00:32:41 UTC) #13
cduvall
lgtm
7 years, 8 months ago (2013-04-24 00:39:03 UTC) #14
jshumway
+kalman ptal when you have a chance
7 years, 8 months ago (2013-04-24 01:00:17 UTC) #15
benjhayden
Is there any way to test that references to inlined types throw errors? That test ...
7 years, 8 months ago (2013-04-24 14:10:56 UTC) #16
not at google - send to devlin
https://codereview.chromium.org/14322003/diff/28001/chrome/common/extensions/api/downloads.idl File chrome/common/extensions/api/downloads.idl (right): https://codereview.chromium.org/14322003/diff/28001/chrome/common/extensions/api/downloads.idl#newcode28 chrome/common/extensions/api/downloads.idl:28: [inline_doc] dictionary FilenameSuggestion { let's just remove the [inline_doc] ...
7 years, 8 months ago (2013-04-24 19:36:11 UTC) #17
benjhayden
https://codereview.chromium.org/14322003/diff/28001/chrome/common/extensions/api/downloads.idl File chrome/common/extensions/api/downloads.idl (right): https://codereview.chromium.org/14322003/diff/28001/chrome/common/extensions/api/downloads.idl#newcode28 chrome/common/extensions/api/downloads.idl:28: [inline_doc] dictionary FilenameSuggestion { On 2013/04/24 19:36:11, kalman wrote: ...
7 years, 8 months ago (2013-04-24 20:09:47 UTC) #18
not at google - send to devlin
whoa what is going on with those docs; suggest a function?
7 years, 8 months ago (2013-04-24 20:13:27 UTC) #19
not at google - send to devlin
Did some part of this change already go in? I am so confused. That doc ...
7 years, 8 months ago (2013-04-24 20:14:20 UTC) #20
benjhayden
On 2013/04/24 20:14:20, kalman wrote: > Did some part of this change already go in? ...
7 years, 8 months ago (2013-04-24 20:16:30 UTC) #21
not at google - send to devlin
oh right. 2. ok :)
7 years, 8 months ago (2013-04-24 20:17:33 UTC) #22
jshumway
https://codereview.chromium.org/14322003/diff/28001/chrome/common/extensions/docs/server2/api_data_source.py File chrome/common/extensions/docs/server2/api_data_source.py (right): https://codereview.chromium.org/14322003/diff/28001/chrome/common/extensions/docs/server2/api_data_source.py#newcode44 chrome/common/extensions/docs/server2/api_data_source.py:44: return On 2013/04/24 19:36:11, kalman wrote: > move this ...
7 years, 8 months ago (2013-04-25 00:06:58 UTC) #23
not at google - send to devlin
cool https://codereview.chromium.org/14322003/diff/43001/chrome/common/extensions/api/downloads.idl File chrome/common/extensions/api/downloads.idl (right): https://codereview.chromium.org/14322003/diff/43001/chrome/common/extensions/api/downloads.idl#newcode44 chrome/common/extensions/api/downloads.idl:44: DOMString url; I'll let benjhayden decide what to ...
7 years, 8 months ago (2013-04-25 00:19:35 UTC) #24
jshumway
https://codereview.chromium.org/14322003/diff/43001/chrome/common/extensions/docs/server2/api_data_source.py File chrome/common/extensions/docs/server2/api_data_source.py (right): https://codereview.chromium.org/14322003/diff/43001/chrome/common/extensions/docs/server2/api_data_source.py#newcode51 chrome/common/extensions/docs/server2/api_data_source.py:51: del type_['id'] On 2013/04/25 00:19:35, kalman wrote: > you'll ...
7 years, 8 months ago (2013-04-25 01:48:37 UTC) #25
not at google - send to devlin
nice. lgtm when ben is happy with the downloads.idl changes. https://codereview.chromium.org/14322003/diff/49001/chrome/common/extensions/docs/server2/api_data_source_test.py File chrome/common/extensions/docs/server2/api_data_source_test.py (right): https://codereview.chromium.org/14322003/diff/49001/chrome/common/extensions/docs/server2/api_data_source_test.py#newcode149 ...
7 years, 8 months ago (2013-04-25 02:22:09 UTC) #26
benjhayden
LGTM Don't worry about downloads.idl, I can clean up the few remaining nits later as ...
7 years, 8 months ago (2013-04-25 13:32:21 UTC) #27
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/jaredshumway94@gmail.com/14322003/53001
7 years, 8 months ago (2013-04-25 23:35:06 UTC) #28
commit-bot: I haz the power
7 years, 8 months ago (2013-04-26 03:53:21 UTC) #29
Message was sent while issue was closed.
Change committed as 196593

Powered by Google App Engine
This is Rietveld 408576698