chore(docs): add platforms decorator
This commit is contained in:
parent
43b7f12415
commit
081de07a27
13
scripts/docs/templates/common.template.html
vendored
13
scripts/docs/templates/common.template.html
vendored
@ -137,6 +137,14 @@ Improve this doc
|
|||||||
<h3><$ doc.directiveInfo.properties[0].name $>: <code><$ doc.directiveInfo.properties[0].values $></code></h3>
|
<h3><$ doc.directiveInfo.properties[0].name $>: <code><$ doc.directiveInfo.properties[0].values $></code></h3>
|
||||||
<@ endif -@>
|
<@ endif -@>
|
||||||
|
|
||||||
|
<!-- @platforms tag -->
|
||||||
|
<@ if doc.platforms @>
|
||||||
|
<h2>Supported platforms</h2>
|
||||||
|
<@ block platforms @>
|
||||||
|
<$ doc.platforms $>
|
||||||
|
<@ endblock @>
|
||||||
|
<@ endif @>
|
||||||
|
|
||||||
<!-- @usage tag -->
|
<!-- @usage tag -->
|
||||||
<@ if doc.usage @>
|
<@ if doc.usage @>
|
||||||
<h2>Usage</h2>
|
<h2>Usage</h2>
|
||||||
@ -194,6 +202,11 @@ Improve this doc
|
|||||||
<div id="<$ method.name $>"></div>
|
<div id="<$ method.name $>"></div>
|
||||||
<h3><$ functionSyntax(method) $></h3>
|
<h3><$ functionSyntax(method) $></h3>
|
||||||
|
|
||||||
|
<@ if method.platforms @>
|
||||||
|
<h4>Platforms: <small><$ method.platforms $></small></h4>
|
||||||
|
|
||||||
|
<@ endif @>
|
||||||
|
|
||||||
<$ method.description $>
|
<$ method.description $>
|
||||||
|
|
||||||
<@ if method.params @>
|
<@ if method.params @>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user