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

Issue 39113003: Docserver: Display enum value descriptions in API docs. (Closed)

Created:
7 years, 2 months ago by Sam McNally
Modified:
7 years, 1 month ago
CC:
chromium-reviews, chromium-apps-reviews_chromium.org, extensions-reviews_chromium.org, chrome-apps-syd-reviews_chromium.org
Base URL:
http://git.chromium.org/chromium/src.git@master
Visibility:
Public.

Description

Docserver: Display enum value descriptions in API docs. This modifies the json schema to allow both primitive types and dictionaries with properties "name" and optional "description" for enum values. BUG=310454 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=231982 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=232297

Patch Set 1 : #

Total comments: 21

Patch Set 2 : #

Total comments: 2

Patch Set 3 : rebase #

Patch Set 4 : #

Patch Set 5 : #

Patch Set 6 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+103 lines, -19 lines) Patch
M chrome/common/extensions/docs/server2/api_data_source.py View 1 2 3 4 5 1 chunk +3 lines, -3 lines 0 comments Download
M chrome/common/extensions/docs/server2/app.yaml View 1 2 3 4 5 1 chunk +1 line, -1 line 0 comments Download
M chrome/common/extensions/docs/server2/cron.yaml View 1 2 3 4 5 1 chunk +1 line, -1 line 0 comments Download
A chrome/common/extensions/docs/templates/private/enum_descriptions.html View 1 1 chunk +16 lines, -0 lines 0 comments Download
M chrome/common/extensions/docs/templates/private/property.html View 1 1 chunk +1 line, -0 lines 0 comments Download
M chrome/common/extensions/docs/templates/private/type.html View 1 1 chunk +1 line, -0 lines 0 comments Download
M chrome/renderer/resources/extensions/json_schema.js View 1 2 3 4 2 chunks +10 lines, -2 lines 0 comments Download
M components/json_schema/json_schema_validator.cc View 1 2 3 3 chunks +25 lines, -0 lines 0 comments Download
M components/json_schema/json_schema_validator_unittest.cc View 2 chunks +8 lines, -2 lines 0 comments Download
M components/test/data/json_schema/enum_schema.json View 1 1 chunk +1 line, -1 line 0 comments Download
M tools/json_schema_compiler/cc_generator.py View 1 3 chunks +5 lines, -3 lines 0 comments Download
M tools/json_schema_compiler/cpp_type_generator.py View 1 1 chunk +1 line, -1 line 0 comments Download
M tools/json_schema_compiler/idl_schema.py View 1 2 3 4 1 chunk +7 lines, -1 line 0 comments Download
M tools/json_schema_compiler/idl_schema_test.py View 1 2 3 4 2 chunks +7 lines, -3 lines 0 comments Download
M tools/json_schema_compiler/model.py View 1 2 3 4 2 chunks +15 lines, -1 line 0 comments Download
M tools/json_schema_compiler/test/idl_basics.idl View 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 18 (0 generated)
Sam McNally
7 years, 1 month ago (2013-10-28 05:41:46 UTC) #1
not at google - send to devlin
Thanks for doing this. https://codereview.chromium.org/39113003/diff/700001/chrome/common/extensions/docs/templates/private/type.html File chrome/common/extensions/docs/templates/private/type.html (right): https://codereview.chromium.org/39113003/diff/700001/chrome/common/extensions/docs/templates/private/type.html#newcode37 chrome/common/extensions/docs/templates/private/type.html:37: {{/enum_values}} this is identical to ...
7 years, 1 month ago (2013-10-28 18:00:25 UTC) #2
Sam McNally
https://codereview.chromium.org/39113003/diff/700001/chrome/common/extensions/docs/templates/private/type.html File chrome/common/extensions/docs/templates/private/type.html (right): https://codereview.chromium.org/39113003/diff/700001/chrome/common/extensions/docs/templates/private/type.html#newcode37 chrome/common/extensions/docs/templates/private/type.html:37: {{/enum_values}} On 2013/10/28 18:00:25, kalman wrote: > this is ...
7 years, 1 month ago (2013-10-29 00:39:02 UTC) #3
not at google - send to devlin
lgtm https://codereview.chromium.org/39113003/diff/700001/components/json_schema/json_schema_validator.cc File components/json_schema/json_schema_validator.cc (right): https://codereview.chromium.org/39113003/diff/700001/components/json_schema/json_schema_validator.cc#newcode214 components/json_schema/json_schema_validator.cc:214: return false; On 2013/10/29 00:39:02, Sam McNally wrote: ...
7 years, 1 month ago (2013-10-29 16:25:16 UTC) #4
Sam McNally
+jochen for components/test/data/json_schema/enum_schema.json https://codereview.chromium.org/39113003/diff/700001/components/json_schema/json_schema_validator.cc File components/json_schema/json_schema_validator.cc (right): https://codereview.chromium.org/39113003/diff/700001/components/json_schema/json_schema_validator.cc#newcode214 components/json_schema/json_schema_validator.cc:214: return false; On 2013/10/29 16:25:16, kalman ...
7 years, 1 month ago (2013-10-30 03:08:36 UTC) #5
jochen (gone - plz use gerrit)
c/t/d/json_schema lgtm
7 years, 1 month ago (2013-10-30 08:54:54 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/sammc@chromium.org/39113003/1500001
7 years, 1 month ago (2013-10-30 22:37:11 UTC) #7
commit-bot: I haz the power
Retried try job too often on win_rel for step(s) browser_tests, chrome_frame_net_tests, chrome_frame_tests, chrome_frame_unittests, content_browsertests, mini_installer_test, ...
7 years, 1 month ago (2013-10-31 01:36:45 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/sammc@chromium.org/39113003/1500001
7 years, 1 month ago (2013-10-31 01:40:05 UTC) #9
commit-bot: I haz the power
Change committed as 231982
7 years, 1 month ago (2013-10-31 03:59:15 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/sammc@chromium.org/39113003/1810001
7 years, 1 month ago (2013-10-31 07:18:43 UTC) #11
commit-bot: I haz the power
Retried try job too often on win7_aura for step(s) browser_tests http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=win7_aura&number=95621
7 years, 1 month ago (2013-10-31 10:21:48 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/sammc@chromium.org/39113003/1810001
7 years, 1 month ago (2013-10-31 11:23:04 UTC) #13
commit-bot: I haz the power
Retried try job too often on win7_aura for step(s) browser_tests http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=win7_aura&number=95680
7 years, 1 month ago (2013-10-31 13:43:14 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/sammc@chromium.org/39113003/2110001
7 years, 1 month ago (2013-10-31 23:17:23 UTC) #15
commit-bot: I haz the power
Failed to apply patch for chrome/common/extensions/docs/server2/app.yaml: While running patch -p1 --forward --force --no-backup-if-mismatch; patching file ...
7 years, 1 month ago (2013-10-31 23:17:28 UTC) #16
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/sammc@chromium.org/39113003/2210001
7 years, 1 month ago (2013-11-01 00:14:34 UTC) #17
commit-bot: I haz the power
7 years, 1 month ago (2013-11-01 05:27:29 UTC) #18
Message was sent while issue was closed.
Change committed as 232297

Powered by Google App Engine
This is Rietveld 408576698