Index: chrome/common/extensions/docs/server2/templates/private/table_of_contents.html |
diff --git a/chrome/common/extensions/docs/server2/templates/private/table_of_contents.html b/chrome/common/extensions/docs/server2/templates/private/table_of_contents.html |
index 6e078b3883f0d100cfae3eab71474dc7ed1f65e0..031272e4b31c8376bfd99cdf7b20ffd41a5784f2 100644 |
--- a/chrome/common/extensions/docs/server2/templates/private/table_of_contents.html |
+++ b/chrome/common/extensions/docs/server2/templates/private/table_of_contents.html |
@@ -4,36 +4,12 @@ |
<li> |
<a href="#apiReference">API reference: chrome.{{api.name}}</a> |
<ol> |
- {{?api.functions}} |
- <li> |
- <a href="#methods">Methods</a> |
- <ol> |
- {{#api.functions}} |
- <li><a href="#method-{{name}}">{{name}}</a></li> |
- {{/}} |
- </ol> |
- </li> |
- {{/api.functions}} |
- {{?api.events}} |
- <li> |
- <a href="#events">Events</a> |
- <ol> |
- {{#api.events}} |
- <li><a href="#event-{{name}}">{{name}}</a></li> |
- {{/}} |
- </ol> |
- </li> |
- {{/api.events}} |
- {{?api.types}} |
- <li> |
- <a href="#types">Types</a> |
- <ol> |
- {{#api.types}} |
- <li><a href="#type-{{name}}">{{name}}</a></li> |
- {{/}} |
- </ol> |
- </li> |
- {{/api.types}} |
+ {{#api}} |
+ {{?api.properties}}<li>{{+partials.toc_properties}}</li>{{/}} |
+ {{?api.functions}}<li>{{+partials.toc_functions}}</li>{{/}} |
+ {{?api.events}}<li>{{+partials.toc_events}}</li>{{/}} |
+ {{?api.types}}<li>{{+partials.toc_types}}</li>{{/}} |
+ {{/api}} |
</ol> |
</li> |
</ol> |