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

Side by Side Diff: chrome/common/extensions/docs/templates/private/property.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 {{#property}} 1 {{#property}}
2 <dt> 2 <dt>
3 <span class="variable">{{name}}</span> 3 {{?parentName}}
4 <span class="property"> 4 <h4 id="{{id}}" title="{{^hideParamTOC name/}}">
5 ( 5 {{+partials.property_name_and_type property:property /}}
6 {{?optional}}<span class="optional">optional</span>{{/}} 6 </h4>
7 {{+partials.variable_type type:property/}} 7 {{:parentName}}
8 ) 8 <h3 id="{{id}}" title="{{^hideParamTOC name/}}">
9 </span> 9 {{+partials.property_name_and_type property:property /}}
10 </h3>
11 {{/parentName}}
10 </dt> 12 </dt>
11 <dd> 13 <dd>
12 {{?deprecated}} 14 {{?deprecated}}
13 {{+partials.warning_deprecated item:property/}} 15 {{+partials.warning_deprecated item:property/}}
14 {{/deprecated}} 16 {{/deprecated}}
15 {{?description}} 17 {{?description}}
16 {{{description}}} 18 {{{description}}}
17 {{/description}} 19 {{/description}}
18 {{+partials.enum_descriptions enums:enum_values/}} 20 {{+partials.enum_descriptions enums:enum_values/}}
19 {{?array.is_object}} 21 {{?array.is_object}}
20 <h5>Properties of each object in <span class="variable">{{name}}</span></h5> 22 <h4 title="">Properties of each object</h4>
21 <dl> 23 <dl>
22 {{+partials.type type:array/}} 24 {{+partials.type type:array hideParamTOC:true /}}
23 </dl> 25 </dl>
24 {{/array.is_object}} 26 {{/array.is_object}}
25 </dd> 27 </dd>
26 {{/property}} 28 {{/property}}
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698