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

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: 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..2a9fa5313be50b808638ceb800f7286ac77697fb 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 title="">{{api.namespace}} reference</h2>
{{+partials.api_reference api:api
platform:platform
platformTitle:platformTitle
samplesForApi:samplesForApi /}}
+</section>
{{/partials.site}}

Powered by Google App Engine
This is Rietveld 408576698