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

Side by Side 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 {{#event}} 1 {{#event}}
2 <div> 2 <div>
3 <h4 id="{{id}}">{{name}}</h4> 3 <h3 id="{{id}}">{{name}}</h3>
4 {{+partials.warning_deprecated item:event/}} 4 {{+partials.warning_deprecated item:event/}}
5 <div class="description"> 5 <div class="description">
6 {{?description}}<p> 6 {{?description}}<p>
7 {{{description}}} 7 {{{description}}}
8 </p>{{/description}} 8 </p>{{/description}}
9 {{?supportsRules}} 9 {{?supportsRules}}
10 <p>Provides the <a href="events.html#declarative">Declarative Event API</a> 10 <p>Provides the <a href="events.html#declarative">Declarative Event API</a>
11 consisting of $ref:[events.Event.addRules addRules], 11 consisting of $ref:[events.Event.addRules addRules],
12 $ref:[events.Event.removeRules removeRules], and $ref:[events.Event.getRules 12 $ref:[events.Event.removeRules removeRules], and $ref:[events.Event.getRules
13 getRules].</p> 13 getRules].</p>
14 <div class="summary"> 14 <div class="summary">
15 {{+partials.function_signature function:byName.addRules 15 {{+partials.function_signature function:byName.addRules
16 parentName:name 16 parentName:name
17 api:api/}} 17 api:api/}}
18 {{+partials.function_signature function:byName.removeRules 18 {{+partials.function_signature function:byName.removeRules
19 parentName:name 19 parentName:name
20 api:api/}} 20 api:api/}}
21 {{+partials.function_signature function:byName.getRules 21 {{+partials.function_signature function:byName.getRules
22 parentName:name 22 parentName:name
23 api:api/}} 23 api:api/}}
24 </div> 24 </div>
25 {{?conditions}} 25 {{?conditions}}
26 <h4>Supported conditions</h4> 26 <h4 title="">Supported conditions</h4>
27 <ul> 27 <ul>
28 {{#c:conditions}}<div><li>{{+partials.ref_link link:c/}}</li></div>{{/}} 28 {{#c:conditions}}<div><li>{{+partials.ref_link link:c/}}</li></div>{{/}}
29 </ul> 29 </ul>
30 {{/conditions}} 30 {{/conditions}}
31 {{?actions}} 31 {{?actions}}
32 <h4>Supported actions</h4> 32 <h4 title="">Supported actions</h4>
33 <ul> 33 <ul>
34 {{#a:actions}}<div><li>{{+partials.ref_link link:a/}}</li></div>{{/}} 34 {{#a:actions}}<div><li>{{+partials.ref_link link:a/}}</li></div>{{/}}
35 </ul> 35 </ul>
36 {{/actions}} 36 {{/actions}}
37 {{/supportsRules}} 37 {{/supportsRules}}
38 {{?filters}} 38 {{?filters}}
39 <h4>Filters</h4> 39 <h4 title="">Filters</h4>
40 <dl> 40 <dl>
41 {{#f:filters +partials.parameter_full parameter:f/}} 41 {{#f:filters +partials.parameter_full parameter:f
42 parentName:name
43 hideParamTOC:true /}}
42 </dl> 44 </dl>
43 {{/filters}} 45 {{/filters}}
44 {{?supportsListeners}} 46 {{?supportsListeners}}
45 {{+partials.function function:byName.addListener 47 {{+partials.function function:byName.addListener
46 parentName:name 48 parentName:name
47 api:api 49 api:api
48 parentId:id/}} 50 hideParamTOC:true /}}
49 {{/supportsListeners}} 51 {{/supportsListeners}}
50 </div> 52 </div>
51 </div> 53 </div>
52 {{/event}} 54 {{/event}}
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698