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

Unified Diff: chrome/common/extensions/docs/templates/private/event.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/event.html
diff --git a/chrome/common/extensions/docs/templates/private/event.html b/chrome/common/extensions/docs/templates/private/event.html
index db0b114d5b7085efe558be3d31b09fb9e130aa9a..edf20b85deb74a3eaa6e8922a88e226989d2268b 100644
--- a/chrome/common/extensions/docs/templates/private/event.html
+++ b/chrome/common/extensions/docs/templates/private/event.html
@@ -1,6 +1,6 @@
{{#event}}
<div>
- <h4 id="{{id}}">{{name}}</h4>
+ <h3 id="{{id}}">{{name}}</h3>
{{+partials.warning_deprecated item:event/}}
<div class="description">
{{?description}}<p>
@@ -23,29 +23,31 @@
api:api/}}
</div>
{{?conditions}}
- <h4>Supported conditions</h4>
+ <h4 title="">Supported conditions</h4>
<ul>
{{#c:conditions}}<div><li>{{+partials.ref_link link:c/}}</li></div>{{/}}
</ul>
{{/conditions}}
{{?actions}}
- <h4>Supported actions</h4>
+ <h4 title="">Supported actions</h4>
<ul>
{{#a:actions}}<div><li>{{+partials.ref_link link:a/}}</li></div>{{/}}
</ul>
{{/actions}}
{{/supportsRules}}
{{?filters}}
- <h4>Filters</h4>
+ <h4 title="">Filters</h4>
<dl>
- {{#f:filters +partials.parameter_full parameter:f/}}
+ {{#f:filters +partials.parameter_full parameter:f
+ parentName:name
+ hideParamTOC:true /}}
</dl>
{{/filters}}
{{?supportsListeners}}
{{+partials.function function:byName.addListener
parentName:name
api:api
- parentId:id/}}
+ hideParamTOC:true /}}
{{/supportsListeners}}
</div>
</div>

Powered by Google App Engine
This is Rietveld 408576698