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

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

Issue 10985071: Extensions Docs Server: Show properties of properties in the table of contents (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: nits and updates to reflect server changes 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
Index: chrome/common/extensions/docs/templates/private/toc_properties.html
diff --git a/chrome/common/extensions/docs/templates/private/toc_properties.html b/chrome/common/extensions/docs/templates/private/toc_properties.html
index eec6754453c3044eedfb9f5e8c855f916d1c8a4c..9c3b50bc489afa64c5f5e2d7f53a0f3763dcf1fb 100644
--- a/chrome/common/extensions/docs/templates/private/toc_properties.html
+++ b/chrome/common/extensions/docs/templates/private/toc_properties.html
@@ -1,8 +1,17 @@
-<a href="#{{?prefix}}{{prefix}}-{{/}}properties">Properties</a>
+<a href="#{{?parent_name}}{{parent_name}}-{{/}}properties">Properties</a>
<ol>
{{#@}}
- <li><a href="#property-{{?prefix}}{{prefix}}-{{/}}{{name}}">{{name}}</a></li>
- {{?functions}}<ol><li>{{+partials.toc_functions prefix:name}}</li></ol>{{/}}
- {{?events}}<ol><li>{{+partials.toc_events prefix:name}}</li></ol>{{/}}
+ <li>
+ <a href="#{{id}}">{{name}}</a>
+ {{?functions}}<ol><li>
+ {{+partials.toc_functions parent_name:name}}
+ </li></ol>{{/}}
+ {{?events}}<ol><li>
+ {{+partials.toc_events parent_name:name}}
+ </li></ol>{{/}}
+ {{?properties}}<ol><li>
+ {{+partials.toc_properties parent_name:name}}
+ </li></ol>{{/}}
+ </li>
{{/}}
</ol>

Powered by Google App Engine
This is Rietveld 408576698