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

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

Issue 99703004: Docserver: Fix the TOC rendering for API references by fixing the haphazard way (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 7 years 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/parameter_full.html
diff --git a/chrome/common/extensions/docs/templates/private/parameter_full.html b/chrome/common/extensions/docs/templates/private/parameter_full.html
index 3ddab1593165c60323361e9b218564f87919fb6c..c776029b7dd245b7a78ec8f97b74fabbdfd41c22 100644
--- a/chrome/common/extensions/docs/templates/private/parameter_full.html
+++ b/chrome/common/extensions/docs/templates/private/parameter_full.html
@@ -2,21 +2,30 @@
<div>
{{?parentName}}<a name="{{id}}"></a>{{/}}
<dl>
- {{+partials.property property:parameter/}}
+ {{+partials.property
+ property:parameter
+ parentName:name
+ hideParamTOC:hideParamTOC /}}
</dl>
{{?properties}}
<dd>
- <h5>Properties of <span class="variable">{{name}}</span></h5>
+ <h4 title="">Properties</h4>
<dl>
- {{#p:properties +partials.parameter_full parameter:p/}}
+ {{#p:properties +partials.parameter_full
+ parameter:p
+ parentName:name
+ hideParamTOC:hideParamTOC /}}
</dl>
</dd>
{{/properties}}
{{?parameters}}
<dd>
<dl>
- <h5>Parameters</h5>
- {{#p:parameters +partials.parameter_full parameter:p/}}
+ <h4 title="">Parameters</h4>
+ {{#p:parameters +partials.parameter_full
+ parameter:p
+ parentName:name
+ hideParamTOC:hideParamTOC /}}
</dl>
{{?callback +partials.callback callback:callback/}}
</dd>

Powered by Google App Engine
This is Rietveld 408576698