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

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

Issue 121713002: Rework API reference pages (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@addscss_330235
Patch Set: moved inline style to sass file Created 6 years, 12 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/api.html
diff --git a/chrome/common/extensions/docs/templates/private/api.html b/chrome/common/extensions/docs/templates/private/api.html
index 5895d146ae64abd98e79f079aef270fa31c3c264..b03c2ce007a25be7a0763b34a33f86be8d3c476f 100644
--- a/chrome/common/extensions/docs/templates/private/api.html
+++ b/chrome/common/extensions/docs/templates/private/api.html
@@ -13,19 +13,24 @@
{{?api.channelWarning.trunk +partials.warning_trunk/}}
{{?api.channelWarning.dev +partials.warning_dev/}}
{{?api.channelWarning.beta +partials.warning_beta/}}
-<h1>{{api.title}}</h1>
-$(table_of_contents)
-{{+partials.intro_table api:api /}}
-{{?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>
+
+<article>
+ <div itemprop="articleBody" class="api">
+ <h1>{{api.title}}</h1>
+ {{+partials.intro_table api:api /}}
+ {{?intro}}
+ <section>
+ {{+intro platform:platform platformTitle:platformTitle /}}
+ </section>
+ {{/intro}}
+ {{+partials.api_summary api:api/}}
+ <section>
+ {{+partials.api_reference api:api
+ platform:platform
+ platformTitle:platformTitle
+ samplesForApi:samplesForApi /}}
+ </section>
+ </div>
+</article>
+
{{/partials.site}}

Powered by Google App Engine
This is Rietveld 408576698