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

Unified Diff: chrome/common/extensions/docs/templates/private/type.html

Issue 39113003: Docserver: Display enum value descriptions in API docs. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Created 7 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/common/extensions/docs/templates/private/type.html
diff --git a/chrome/common/extensions/docs/templates/private/type.html b/chrome/common/extensions/docs/templates/private/type.html
index 250a22c054c452f9fa5ac0c5a5d9fb2b08db6932..dbe98534449d5f8780744cef2b2b1c628251543f 100644
--- a/chrome/common/extensions/docs/templates/private/type.html
+++ b/chrome/common/extensions/docs/templates/private/type.html
@@ -19,6 +19,22 @@
{{?description}}
<dd>{{{description}}}</dd>
{{/description}}
+ {{?enum_values}}
+ <dl>
+ {{#enum_values}}
+ {{?@.description}}
+ <dd>
+ <dl>
+ <dt>{{name}}</dt>
+ <dd>
+ {{description}}
+ </dd>
+ </dl>
+ </dd>
+ {{/@.description}}
+ {{/enum_values}}
+ </dl>
+ {{/enum_values}}
not at google - send to devlin 2013/10/28 18:00:25 this is identical to the content in property.html.
Sam McNally 2013/10/29 00:39:02 Done.
{{?properties}}
{{+partials.type_item title:strings.properties
display_name:display_name

Powered by Google App Engine
This is Rietveld 408576698