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

Unified Diff: chrome/common/extensions/docs/templates/articles/experimental.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: use api models 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/experimental.html
diff --git a/chrome/common/extensions/docs/templates/articles/experimental.html b/chrome/common/extensions/docs/templates/articles/experimental.html
index 5646013eef3d1181eb9f52becf42f5bfe2f7a8c1..0aa5a973a0d99b32fc2c49f15d342094bb8fdc31 100644
--- a/chrome/common/extensions/docs/templates/articles/experimental.html
+++ b/chrome/common/extensions/docs/templates/articles/experimental.html
@@ -11,17 +11,64 @@ on the following experimental APIs:
</p>
{{/is_apps}}
-<ul>
- {{?is_apps}}
- {{#api_list.apps.experimental}}
- <li><a href="{{name}}.html">{{name}}</a></li>
+{{?stable_apis}}
+<p>
+Here are the supported chrome.* APIs stable since the Chrome version.
+</p>
+
+<h3 id="stable_apis">
+Stable APIs
+</h3>
+<table>
+ <tr><th>Name</th><th>Description</th><th>Chrome Version</th></tr>
+ {{#stable_apis}}
+ <tr>
+ <td><a href="{{name}}.html">{{name}}</a></td>
+ <td>{{{description}}}</td>
+ <td>{{version}}</td>
+ </tr>
+ {{/stable_apis}}
+</table>
+{{/}}
+
+{{?beta_apis}}
+<p>
+Here are the supported chrome.* APIs available in Chrome Beta only.
+</p>
+
+<h3 id="beta_apis">
+Beta APIs
+</h3>
+<table>
+ <tr><th>Name</th><th>Description</th></tr>
+ {{#beta_apis}}
+ <tr>
+ <td><a href="{{name}}.html">{{name}}</a></td>
+ <td>{{{description}}}</td>
+ </tr>
{{/}}
- {{:is_apps}}
- {{#api_list.extensions.experimental}}
- <li><a href="{{name}}.html">{{name}}</a></li>
+</table>
+{{/}}
+
+{{?dev_apis}}
+<p>
+Here are the supported chrome.* APIs available in Chrome Dev only.
+</p>
+
+<h3 id="dev_apis">
+Dev APIs
+</h3>
+<table>
+ <tr><th>Name</th><th>Description</th></tr>
+ {{#dev_apis}}
+ <tr>
+ <td><a href="{{name}}.html">{{name}}</a></td>
+ <td>{{{description}}}</td>
+ </tr>
{{/}}
- {{/is_apps}}
-</ul>
+</table>
+{{/}}
+
not at google - send to devlin 2013/11/02 00:31:48 just include the experimental section in here. see
hukun 2013/11/04 11:07:26 Done, use template api_table
{{^is_apps}}
<p class="doc-family extensions">

Powered by Google App Engine
This is Rietveld 408576698