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

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: . 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..b66678249512da2c665f34ee880b5fc6349b91e2 100644
--- a/chrome/common/extensions/docs/server2/templates/private/api_reference.html
+++ b/chrome/common/extensions/docs/server2/templates/private/api_reference.html
@@ -26,3 +26,9 @@
{{/}}
{{/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>
+{{/}}

Powered by Google App Engine
This is Rietveld 408576698