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

Unified Diff: chrome/common/extensions/docs/templates/private/property.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/property.html
diff --git a/chrome/common/extensions/docs/templates/private/property.html b/chrome/common/extensions/docs/templates/private/property.html
index 782a402280010e395984e8291410b4cc94416708..546cbf1aed2943dc55a118b57e3fac56769b5a28 100644
--- a/chrome/common/extensions/docs/templates/private/property.html
+++ b/chrome/common/extensions/docs/templates/private/property.html
@@ -10,6 +10,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}}
{{?array.is_object}}
<h4>Properties of each item</h4>
{{+partials.type @:array}}

Powered by Google App Engine
This is Rietveld 408576698