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

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

Issue 103413002: Docserver: Include <h4> tags in the table of contents, it's needed for the API (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years 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/table_of_contents.html
diff --git a/chrome/common/extensions/docs/templates/private/table_of_contents.html b/chrome/common/extensions/docs/templates/private/table_of_contents.html
index 9331ef75134c10a92e54ecf92ec50a61e21edec3..e9d4e1a6638aaa40421084a5f690bd13187885d3 100644
--- a/chrome/common/extensions/docs/templates/private/table_of_contents.html
+++ b/chrome/common/extensions/docs/templates/private/table_of_contents.html
@@ -1,16 +1,3 @@
<div id="toc">
- <ol>
- {{#i:items}}
- <li {{?i.separator}}class="separator"{{/}}>
- <a href="#{{i.link}}">{{{i.title}}}</a>
- {{?i.subheadings}}
- <ol>
- {{#sh:i.subheadings}}
- <li><a href="#{{sh.link}}">{{{sh.title}}}</a></li>
- {{/i.subheadings}}
- </ol>
- {{/i.subheadings}}
- </li>
- {{/items}}
- </ol>
+ {{+partials.table_of_contents_items items:items /}}
</div>

Powered by Google App Engine
This is Rietveld 408576698