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

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: Created 7 years, 2 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/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..ef70e25fd45e36cb42b12e9893f68247f4321481 100644
--- a/chrome/common/extensions/docs/templates/articles/api_index.html
+++ b/chrome/common/extensions/docs/templates/articles/api_index.html
@@ -19,17 +19,75 @@ so that extensions can interact with the browser.
Here are the supported chrome.* APIs:
</p>
-<ul>
+<p>
+Stable APIs
not at google - send to devlin 2013/10/31 00:05:26 h2 not p
hukun 2013/11/01 09:31:52 Done
+</p>
+<table>
+ <tr><td>API Name</td><td>API Description</td><td>Chrome Version</td></tr>
not at google - send to devlin 2013/10/31 00:05:26 use th here. Also I'd just go with "Name" and "Des
hukun 2013/11/01 09:31:52 Done
+ {{?is_apps}}
+ {{#api_list.apps.chrome.stable}}
not at google - send to devlin 2013/10/31 00:05:26 cleanup: change templates/public/apps/api_index.ht
hukun 2013/11/01 09:31:52 Done
+ <tr>
+ <td><a href="{{name}}.html">{{name}}</a></td>
+ <td>{{{description}}}</td>
+ <td>{{version}}</td>
+ </tr>
+ {{/api_list.apps.chrome.stable}}
+ {{:is_apps}}
+ {{#api_list.extensions.chrome.stable}}
+ <tr>
+ <td><a href="{{name}}.html">{{name}}</a></td>
+ <td>{{{description}}}</td>
+ <td>{{version}}</td>
+ </tr>
+ {{/api_list.extensions.chrome.stable}}
+ {{/is_apps}}
+</table>
+
+
+<p>
+Beta APIs
+</p>
+<table>
+ <tr><td>API Name</td><td>API Description</td></tr>
+ {{?is_apps}}
+ {{#api_list.apps.chrome.beta}}
+ <tr>
+ <td><a href="{{name}}.html">{{name}}</a></td>
+ <td>{{{description}}}</td>
+ </tr>
+ {{/api_list.apps.chrome.beta}}
+ {{:is_apps}}
+ {{#api_list.extensions.chrome.beta}}
+ <tr>
+ <td><a href="{{name}}.html">{{name}}</a></td>
+ <td>{{{description}}}</td>
+ </tr>
+ {{/api_list.extensions.chrome.beta}}
+
+ {{/is_apps}}
+</table>
+
+<p>
+Dev APIs
+</p>
+<table>
+ <tr><td>API Name</td><td>API Description</td></tr>
{{?is_apps}}
- {{#api_list.apps.chrome}}
- <li><a href="{{name}}.html">{{name}}</a></li>
- {{/api_list.apps.chrome}}
+ {{#api_list.apps.chrome.dev}}
+ <tr>
+ <td><a href="{{name}}.html">{{name}}</a></td>
+ <td>{{{description}}}</td>
+ </tr>
+ {{/api_list.apps.chrome.dev}}
{{:is_apps}}
- {{#api_list.extensions.chrome}}
- <li><a href="{{name}}.html">{{name}}</a></li>
- {{/api_list.extensions.chrome}}
+ {{#api_list.extensions.chrome.dev}}
+ <tr>
+ <td><a href="{{name}}.html">{{name}}</a></td>
+ <td>{{{description}}}</td>
+ </tr>
+ {{/api_list.extensions.chrome.dev}}
{{/is_apps}}
-</ul>
+</table>
<h2 id="experimental">Experimental APIs</h2>

Powered by Google App Engine
This is Rietveld 408576698