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

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: Samples on API pages 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..48777895de52bf2020e15b92c6c736186345b25f 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,14 @@
{{/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>
not at google - send to devlin 2012/08/09 07:52:36 a bit hard to read, so some nits, indent within th
cduvall 2012/08/09 19:20:08 Done.
{{/}}
+{{: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}}

Powered by Google App Engine
This is Rietveld 408576698