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

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

Issue 10835012: Extension Docs Server: Include a list of samples used in the api reference page. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: fixed the tests Created 8 years, 5 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 29b8ca624485fec324e7ca8d10049d35df918cb1..1c34d5fafc42648aa6f00fb363fa2ba8bcc4b26a 100644
--- a/chrome/common/extensions/docs/server2/templates/private/api_reference.html
+++ b/chrome/common/extensions/docs/server2/templates/private/api_reference.html
@@ -1,3 +1,7 @@
+{{?api.samples}}<h2>Samples Using chrome.{{api.name}}</h2>{{/}}
+{{#api.samples}}
+ <li><code><a href="{{path}}.zip">{{name}}</a></code></li>
+{{/}}
not at google - send to devlin 2012/07/30 12:23:03 I think this should be the last thing on the page,
chebert 2012/07/31 22:41:33 Done.
<a name="apiReference"></a>
<h2>API Reference: chrome.{{api.name}}</h2>
<div class="api_reference">

Powered by Google App Engine
This is Rietveld 408576698