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

Unified Diff: chrome/common/extensions/docs/templates/articles/api_index.html

Issue 48263002: list apis by channel info, e.g. dev, stable (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: gerenate one new template, e.g. api_table Created 7 years, 1 month 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/articles/api_index.html
diff --git a/chrome/common/extensions/docs/templates/articles/api_index.html b/chrome/common/extensions/docs/templates/articles/api_index.html
index 1d2e8b9581833e8f991577a88b111904e5704c95..0646478f14572bdcdb5ff7e94ee581137d085d35 100644
--- a/chrome/common/extensions/docs/templates/articles/api_index.html
+++ b/chrome/common/extensions/docs/templates/articles/api_index.html
@@ -1,36 +1,41 @@
<h1 class="page_title">Chrome Platform APIs</h1>
-{{?is_apps}}
<p class="doc-family apps">
Chrome provides many special-purpose APIs like
<code>chrome.runtime</code> and <code>chrome.alarms</code>
to Chrome Apps.
</p>
-{{:is_apps}}
-<p class="doc-family extensions">
-Chrome provides APIs such as
-<code>chrome.bookmarks</code> and <code>chrome.tab</code>
-so that extensions can interact with the browser.
-</p>
-{{/is_apps}}
<h2 id="supported">Supported APIs</h2>
+{{?stable_apis}}
+<h3 id="stable_apis">
not at google - send to devlin 2013/11/05 01:02:02 Let's kill the "Supported APIs" header and make ea
hukun 2013/11/06 08:56:19 Done
+Stable APIs
+</h3>
+<p>
+Here are the supported chrome.* APIs stable since the Chrome version.
+</p>
+{{+partials.api_table apis:stable_apis is_stable:true}}
+{{/}}
+{{?beta_apis}}
+<h3 id="beta_apis">
+Beta APIs
+</h3>
<p>
-Here are the supported chrome.* APIs:
+Here are the supported chrome.* APIs available in Chrome Beta only.
</p>
+{{+partials.api_table apis:beta_apis is_stable:false}}
+{{/}}
-<ul>
- {{?is_apps}}
- {{#api_list.apps.chrome}}
- <li><a href="{{name}}.html">{{name}}</a></li>
- {{/api_list.apps.chrome}}
- {{:is_apps}}
- {{#api_list.extensions.chrome}}
- <li><a href="{{name}}.html">{{name}}</a></li>
- {{/api_list.extensions.chrome}}
- {{/is_apps}}
-</ul>
+{{?dev_apis}}
+<h3 id="dev_apis">
+Dev APIs
+</h3>
+<p>
+Here are the supported chrome.* APIs available in Chrome Dev only.
+</p>
+{{+partials.api_table apis:dev_apis is_stable:false}}
+{{/}}
<h2 id="experimental">Experimental APIs</h2>
<p>

Powered by Google App Engine
This is Rietveld 408576698