| Index: chrome/common/extensions/docs/templates/private/manifest_type.html
|
| diff --git a/chrome/common/extensions/docs/templates/private/manifest_type.html b/chrome/common/extensions/docs/templates/private/manifest_type.html
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..f1e3ec8c39923090dcaead07656fc03e043e2690
|
| --- /dev/null
|
| +++ b/chrome/common/extensions/docs/templates/private/manifest_type.html
|
| @@ -0,0 +1,33 @@
|
| +{{-
|
| + Renders a manifest type, in a style more suited to be inlined in a document.
|
| + Parameters:
|
| + |type| The model of the type to render.
|
| +-}}
|
| +
|
| +<p>
|
| +<ul>
|
| +{{#f:type.properties}}
|
| + <li>
|
| + <p id="{{f.name}}">
|
| + <b><code>{{f.name}}</code> ({{+partials.variable_type type:f/}})</b>
|
| + - {{?f.optional}}optional{{:}}required{{/f.optional}}
|
| + </p>
|
| + <p>
|
| + {{{f.description}}}
|
| + </p>
|
| + {{?f.properties}}
|
| + <table>
|
| + <tr>
|
| + <th>Type</th>
|
| + <th>Attribute</th>
|
| + <th>Description</th>
|
| + </tr>
|
| + {{+partials.type_item
|
| + title:f.strings.properties
|
| + display_name:display_name
|
| + items:f.properties
|
| + item_partial:(partials.parameter_full hideParamTOC:true)/}}
|
| + </table>
|
| + {{/f.properties}}
|
| +{{/type.properties}}
|
| +</ul>
|
|
|