Index: chrome/common/extensions/docs/templates/private/function_signature.html |
diff --git a/chrome/common/extensions/docs/templates/private/function_signature.html b/chrome/common/extensions/docs/templates/private/function_signature.html |
index 40f3f0bc102778ab0cecadaabba2b2d9154bcfd5..9435b6caee69f38ac80df5aa7466e0632ed16987 100644 |
--- a/chrome/common/extensions/docs/templates/private/function_signature.html |
+++ b/chrome/common/extensions/docs/templates/private/function_signature.html |
@@ -2,7 +2,9 @@ |
|api|: the schema for the API that the function belongs to |
|function|: the schema for the function |
|parentName|: name of the parent object of the function |
+ |disableLink|: if not null, no link will be shown for types |
-}} |
-<div class="line"> |
-<span>{{?r:function.returns}}{{+partials.variable_type type:r/}} {{/}}{{?api}}{{api.namespace}}.{{/}}{{?parentName}}{{parentName}}.{{/}}{{function.name}}</span>({{#p:function.parameters}}{{+partials.parameter_item parameter:p/}}{{^p.last}}, {{/}}{{/}}) |
-</div> |
+<code class="prettyprint"> |
+{{?r:function.returns}}{{+partials.variable_type type:r disableLink:disableLink/}} |
+{{/}}{{?api}}{{api.namespace}}.{{/}}{{?parentName}}{{parentName}}.{{/}}{{function.name}}({{#p:function.parameters}}{{+partials.parameter_item parameter:p disableLink:disableLink/}}{{^p.last}}, {{/}}{{/}}) |
+</code> |