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

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

Issue 11823033: Fix two problems with server2's documentation generator: it wasn't showing (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: bump version Created 7 years, 11 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/templates/private/callback.html
diff --git a/chrome/common/extensions/docs/templates/private/callback.html b/chrome/common/extensions/docs/templates/private/callback.html
index 02499471c74a6be2d7f5a1f571fa586265063761..aaeb361305e95d6d7c15231aeeb050dc6f0af64d 100644
--- a/chrome/common/extensions/docs/templates/private/callback.html
+++ b/chrome/common/extensions/docs/templates/private/callback.html
@@ -1,17 +1,23 @@
-<h4>Callback function</h4>
+<h4>Callback</h4>
<p>
{{?optional}}
If you specify the <em>{{name}}</em> parameter, it should
specify a function that looks like this:
- {{:}}
+ {{:optional}}
The <em>{{name}}</em> parameter should specify a function
that looks like this:
- {{/}}
+ {{/optional}}
</p>
<pre>function({{#parameters}}{{+partials.variable_type}} {{name}}{{^last}}, {{/}}{{/}}) <span class="subdued">{...}</span>;</pre>
-{{?description}}<p>
+{{?description}}
+<p>
{{{description}}}
-</p>{{/}}
+</p>
+{{/description}}
+{{?parameters}}
<dl>
- {{#parameters}}{{+partials.parameter_full}}{{/}}
+ {{#parameters}}
+ {{+partials.parameter_full}}
+ {{/parameters}}
</dl>
+{{/parameters}}
« no previous file with comments | « chrome/common/extensions/docs/server2/app.yaml ('k') | chrome/common/extensions/docs/templates/private/function.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698