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

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

Issue 10689117: Extensions Docs Server: Support APIs with properties (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: cl upload problems fixed? Created 8 years, 5 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/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>

Powered by Google App Engine
This is Rietveld 408576698