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

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

Issue 10689117: Extensions Docs Server: Support APIs with properties (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Storage API looking good 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 c542ee4eda2f37eb2b993dbcdd2d21b83997522e..cfc8b0a98dcd44a2b91d93abd62fd0658c7d66aa 100644
--- a/chrome/common/extensions/docs/server2/templates/private/api_reference.html
+++ b/chrome/common/extensions/docs/server2/templates/private/api_reference.html
@@ -1,6 +1,12 @@
<a name="apiReference"></a>
<h2>API Reference: chrome.{{api.name}}</h2>
<div class="api_reference">
+ {{?api.properties}}
+ <h3 id="properties">Properties</h3>
+ {{#api.properties}}
+ {{+partials.api_property api:api}}
+ {{/}}
+ {{/api.properties}}
{{?api.functions}}
<h3 id="methods">Methods</h3>
{{#api.functions}}
@@ -16,7 +22,7 @@
{{?api.types}}
<h3 id="types">Types</h3>
{{#api.types}}
- {{+partials.type api:api}}
+ {{+partials.type api:api type:@}}
{{/}}
{{/api.types}}
</div>

Powered by Google App Engine
This is Rietveld 408576698