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

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

Issue 149673004: Rework API reference pages (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: bumped versions Created 6 years, 10 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 da96f3c73759e1039b6b6ece82b8af1ac702ddc9..b66dcbd37b9035944ac3a7b7e4c88972aa2bd22c 100644
--- a/chrome/common/extensions/docs/templates/private/type.html
+++ b/chrome/common/extensions/docs/templates/private/type.html
@@ -3,14 +3,15 @@
{{?display_name}}
<h3 id="{{id}}">{{display_name}}</h3>
{{/display_name}}
- <div>
+ <table>
{{^is_object}}
{{?enum_values}}
- <dd>enum of
+ <tr><th>Enum</th></tr>
+ <tr><td>
{{#e:enum_values}}
{{?e.last}}or {{/}}<code>"{{e.name}}"</code>{{^e.last}}, {{/}}
{{/enum_values}}
- </dd>
+ </td></tr>
{{:enum_values}}
<dd>
{{+partials.variable_type type:type/}}
@@ -40,6 +41,6 @@
items:events
item_partial:partials.event/}}
{{/events}}
- </div>
+ </table>
</div>
{{/type}}

Powered by Google App Engine
This is Rietveld 408576698