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

Side by Side Diff: chrome/common/extensions/docs/templates/private/api_reference.html

Issue 149673004: Rework API reference pages (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: bumped versions Created 6 years, 10 months 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
OLDNEW
1 <div class="api_reference"> 1 <div class="api-reference">
2 {{- This is a span not a header-tag so that it doesn't show up in the TOC. -}} 2 {{- This is a span not a header-tag so that it doesn't show up in the TOC. -}}
3 {{?api.types}} 3 {{?api.types}}
4 <h2 id="types">Types</h2> 4 <h2 id="types">Types</h2>
5 {{#t:api.types}} 5 {{#t:api.types}}
6 {{+partials.type display_name:t.name type:t/}} 6 {{+partials.type display_name:t.name type:t/}}
7 {{/}} 7 {{/}}
8 {{/api.types}} 8 {{/api.types}}
9 {{?api.properties}} 9 {{?api.properties}}
10 <h2 id="properties">Properties</h2> 10 <h2 id="properties">Properties</h2>
11 <table>
11 {{#p:api.properties}} 12 {{#p:api.properties}}
12 {{+partials.api_property api:api property:p/}} 13 {{+partials.api_property api:api property:p/}}
13 {{/}} 14 {{/}}
15 </table>
14 {{/api.properties}} 16 {{/api.properties}}
15 {{?api.functions}} 17 {{?api.functions}}
16 <h2 id="methods">Methods</h2> 18 <h2 id="methods">Methods</h2>
17 {{#f:api.functions}} 19 {{#f:api.functions}}
18 {{+partials.function function:f api:api parentName:false/}} 20 {{+partials.function function:f api:api parentName:false/}}
19 {{/}} 21 {{/}}
20 {{/api.functions}} 22 {{/api.functions}}
21 {{?api.events}} 23 {{?api.events}}
22 <h2 id="events">Events</h2> 24 <h2 id="events">Events</h2>
23 {{#e:api.events}} 25 {{#e:api.events}}
(...skipping 16 matching lines...) Expand all
40 <h2 id="samples">Sample {{platformTitle}}</h2> 42 <h2 id="samples">Sample {{platformTitle}}</h2>
41 <ul> 43 <ul>
42 {{#sample:samples_list}} 44 {{#sample:samples_list}}
43 <li><strong><a href="samples.html#{{sample.id}}">{{sample.name}}</a></strong > 45 <li><strong><a href="samples.html#{{sample.id}}">{{sample.name}}</a></strong >
44 {{?sample.description}} 46 {{?sample.description}}
45 &ndash; {{sample.description}} 47 &ndash; {{sample.description}}
46 {{/sample.description}}</li> 48 {{/sample.description}}</li>
47 {{/samples_list}} 49 {{/samples_list}}
48 </ul> 50 </ul>
49 {{/samples_list}} 51 {{/samples_list}}
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698