Index: chrome/common/extensions/docs/server2/templates/articles/api_index.html |
diff --git a/chrome/common/extensions/docs/server2/templates/articles/api_index.html b/chrome/common/extensions/docs/server2/templates/articles/api_index.html |
index 748a264ae16725ba2cfe39428c2732e881aafc42..5e3c8a79a2582091f9183626817690de26546cbd 100644 |
--- a/chrome/common/extensions/docs/server2/templates/articles/api_index.html |
+++ b/chrome/common/extensions/docs/server2/templates/articles/api_index.html |
@@ -1,15 +1,15 @@ |
<h1 class="page_title">chrome.* APIs</h1> |
-<p class="doc-family extensions"> |
+{{^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> |
+</p>{{/}} |
-<p class="doc-family apps"> |
+{{?is_apps}}<p class="doc-family apps"> |
not at google - send to devlin
2012/08/06 22:01:24
why not using {{:}} and having this on the same li
cduvall
2012/08/06 22:25:45
Done.
|
Chrome provides many special-purpose APIs like |
<code>chrome.runtime</code> and <code>chrome.alarms</code> |
to packaged apps. |
-</p> |
+</p>{{/}} |
<h2 id="supported">Supported APIs</h2> |
@@ -18,9 +18,15 @@ Here are the supported chrome.* APIs: |
</p> |
<ul> |
- {{#api_list.chrome}} |
+ {{?is_apps}} |
+ {{#api_list.apps.chrome}} |
<li><a href="{{name}}.html">{{name}}</a></li> |
{{/}} |
+ {{:}} |
not at google - send to devlin
2012/08/06 22:01:24
getting hard to read without explicitly naming wha
cduvall
2012/08/06 22:25:45
Done.
|
+ {{#api_list.extensions.chrome}} |
+ <li><a href="{{name}}.html">{{name}}</a></li> |
+ {{/}} |
+ {{/is_apps}} |
</ul> |
<h2 id="experimental">Experimental APIs</h2> |
@@ -44,6 +50,6 @@ then you pass a callback function into the method. |
For more information, watch this video: |
</p> |
-<p class="doc-family extensions"> |
+{{^is_apps}}<p class="doc-family extensions"> |
<iframe title="YouTube video player" width="640" height="390" src="http://www.youtube.com/embed/bmxr75CV36A?rel=0" frameborder="0" allowfullscreen></iframe> |
-</p> |
+</p>{{/}} |