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..5f35b3edb12dbd2758ab89a8588525b8f81b079e 100644 |
--- a/chrome/common/extensions/docs/templates/private/function_signature.html |
+++ b/chrome/common/extensions/docs/templates/private/function_signature.html |
@@ -2,7 +2,8 @@ |
|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 |
+ |no_link|: if different of 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 no_link:no_link/}} {{/}}{{?api}}{{api.namespace}}.{{/}}{{?parentName}}{{parentName}}.{{/}}{{function.name}}({{#p:function.parameters}}{{+partials.parameter_item parameter:p no_link:no_link/}}{{^p.last}}, {{/}}{{/}}) |
+</code> |