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

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

Issue 99703004: Docserver: Fix the TOC rendering for API references by fixing the haphazard way (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase 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/api.html
diff --git a/chrome/common/extensions/docs/templates/private/api.html b/chrome/common/extensions/docs/templates/private/api.html
index b9aaa45b1fb9304fa3089a6491943c2870a047ab..5895d146ae64abd98e79f079aef270fa31c3c264 100644
--- a/chrome/common/extensions/docs/templates/private/api.html
+++ b/chrome/common/extensions/docs/templates/private/api.html
@@ -16,9 +16,16 @@
<h1>{{api.title}}</h1>
$(table_of_contents)
{{+partials.intro_table api:api /}}
-{{?intro +intro platform:platform platformTitle:platformTitle /}}
+{{?intro}}
+<section>
+{{+intro platform:platform platformTitle:platformTitle /}}
+</section>
+{{/intro}}
+<section>
+<h2 id="api-reference-header" title="">{{api.namespace}} reference</h2>
{{+partials.api_reference api:api
platform:platform
platformTitle:platformTitle
samplesForApi:samplesForApi /}}
+</section>
{{/partials.site}}
« no previous file with comments | « chrome/common/extensions/docs/static/css/site.css ('k') | chrome/common/extensions/docs/templates/private/api_property.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698