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

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: Rebase Created 6 years, 10 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 6052a6d112ae3752916c4c11ae6d3ab6beb989e3..5ea5e6a488c3eab9d16c59c01051780ef09a0954 100644
--- a/chrome/common/extensions/docs/templates/private/api.html
+++ b/chrome/common/extensions/docs/templates/private/api.html
@@ -13,20 +13,22 @@
{{?api.channelWarning.trunk +partials.warning_trunk/}}
{{?api.channelWarning.dev +partials.warning_dev/}}
{{?api.channelWarning.beta +partials.warning_beta/}}
-<h1>{{api.title}}</h1>
-{{?api.deprecated +partials.warning_deprecated item:api/}}
-$(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}}
« no previous file with comments | « chrome/common/extensions/docs/static/sass/site.scss ('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