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

Unified Diff: chrome/common/extensions/docs/templates/private/table_of_contents_items.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_items.html
diff --git a/chrome/common/extensions/docs/templates/private/table_of_contents_items.html b/chrome/common/extensions/docs/templates/private/table_of_contents_items.html
new file mode 100644
index 0000000000000000000000000000000000000000..3c206424e1fb70815856cb8789e7ba75ad7e2a67
--- /dev/null
+++ b/chrome/common/extensions/docs/templates/private/table_of_contents_items.html
@@ -0,0 +1,8 @@
+<ol>
+ {{#i:items}}
+ <li {{?i.separator}}class="separator"{{/}}>
+ <a href="#{{i.link}}">{{{i.title}}}</a>
+ {{?i.subheadings +partials.table_of_contents_items items:i.subheadings /}}
+ </li>
+ {{/items}}
+</ol>

Powered by Google App Engine
This is Rietveld 408576698