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

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

Issue 11031061: Merge 160302 - Extensions Docs Server: Show properties of properties in the table of contents (Closed) Base URL: svn://svn.chromium.org/chrome/branches/1284/src/
Patch Set: Created 8 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
« no previous file with comments | « chrome/common/extensions/docs/templates/private/toc_types.html ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/common/extensions/docs/templates/private/type.html
===================================================================
--- chrome/common/extensions/docs/templates/private/type.html (revision 160305)
+++ chrome/common/extensions/docs/templates/private/type.html (working copy)
@@ -1,25 +1,33 @@
<div>
- <a name="type-{{name}}"></a>
- <h4>{{name}}</h4>
+ <h3 id="{{id}}">{{name}}</h3>
<div>
<dt>{{+partials.type_name}}</dt>
{{?description}}<dd>
{{{description}}}
</dd>{{/description}}
{{?properties}}
- <dd><dl>{{#properties}}{{^additional_properties}}
+ <h4 id="{{type.name}}-properties">
+ Properties of <a href="#type-{{type.name}}">{{type.name}}</a>
+ </h4>
+ <dd><dl>{{#properties}}
{{+partials.parameter_full}}
- {{/}}{{/}}</dl></dd>
+ {{/}}</dl></dd>
{{/properties}}
{{?functions}}
- <a name={{type.name}}-methods></a>
- <dd><h3>Methods of {{type.name}}</h3>
- <dd><dl>{{#functions}}{{+partials.function api:api prefix:type.name}}{{/}}</dl></dd>
+ <h4 id="{{type.name}}-methods">
+ Methods of <a href="#type-{{type.name}}">{{type.name}}</a>
+ </h4>
+ <dd><dl>{{#functions}}
+ {{+partials.function api:api}}
+ {{/}}</dl></dd>
{{/functions}}
{{?events}}
- <a name={{type.name}}-events></a>
- <dd><h3>Events of {{type.name}}</h3>
- <dd><dl>{{#events}}{{+partials.event api:api prefix:type.name}}{{/}}</dl></dd>
+ <h4 id="{{type.name}}-events">
+ Events of <a href="#type-{{type.name}}">{{type.name}}</a>
+ </h4>
+ <dd><dl>{{#events}}
+ {{+partials.event api:api}}
+ {{/}}</dl></dd>
{{/events}}
</div>
</div>
« no previous file with comments | « chrome/common/extensions/docs/templates/private/toc_types.html ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698