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

Unified Diff: chrome/common/extensions/docs/server2/templates/private/api_reference.html

Issue 10825067: Extensions Docs Server: Apps samples page (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fixes Created 8 years, 4 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/server2/templates/private/api_reference.html
diff --git a/chrome/common/extensions/docs/server2/templates/private/api_reference.html b/chrome/common/extensions/docs/server2/templates/private/api_reference.html
index b66678249512da2c665f34ee880b5fc6349b91e2..1494414ba7ba8592ab93c9aa3fac67a15c0c9039 100644
--- a/chrome/common/extensions/docs/server2/templates/private/api_reference.html
+++ b/chrome/common/extensions/docs/server2/templates/private/api_reference.html
@@ -27,8 +27,16 @@
{{/api.events}}
</div>
<a name="samples"></a>
-{{?api.samples}}<h2>Sample extensions that use chrome.{{api.name}}</h2>{{/}}
-{{#api.samples}}
- <a name="sample-{{?prefix}}{{prefix}}-{{/}}{{name}}"></a>
- <li><b><a href="{{path}}.zip">{{name}}</a></b> &ndash; {{description}}</li>
-{{/}}
+{{?is_apps}}
+ {{?api.samples.apps}}<h2>Sample apps that use chrome.{{api.name}}</h2>{{/}}
+ {{#api.samples.apps}}
+ <li><strong><a href="{{github_path}}">{{name}}</a></strong> &ndash;
+ {{description}}</li>
+ {{/}}
+{{:is_apps}}
+ {{?api.samples.extensions}}<h2>Sample extensions that use chrome.{{api.name}}</h2>{{/}}
+ {{#api.samples.extensions}}
+ <li><strong><a href="{{path}}.zip">{{name}}</a></strong> &ndash;
+ {{description}}</li>
+ {{/}}
+{{/is_apps}}
not at google - send to devlin 2012/08/10 06:02:18 See comment in other review and this review about

Powered by Google App Engine
This is Rietveld 408576698