| 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>
|
|
|