Chromium Code Reviews| 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 11ba435df38baec2702c61fea16f9e3c86c8e853..19ea554d5030f29302ac6dcdde8af30e1b7e4ea5 100644 |
| --- a/chrome/common/extensions/docs/templates/private/type.html |
| +++ b/chrome/common/extensions/docs/templates/private/type.html |
| @@ -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}}-functions"> |
| + 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}}{{/}} |
|
not at google - send to devlin
2012/10/03 01:17:11
nice: 1 level less indentation?
cduvall
2012/10/05 01:16:15
Done.
|
| + </dl></dd> |
| {{/events}} |
| </div> |
| </div> |