style(docs): improve the style of platforms param for methods
This commit is contained in:
parent
120d20bfe4
commit
a93eb68f24
6
scripts/docs/templates/common.template.html
vendored
6
scripts/docs/templates/common.template.html
vendored
@ -210,12 +210,10 @@ docType: "<$ doc.docType $>"
|
|||||||
<@- if method.decorators @>
|
<@- if method.decorators @>
|
||||||
<@ for prop in method.decorators[0].argumentInfo @>
|
<@ for prop in method.decorators[0].argumentInfo @>
|
||||||
<@ if prop.platforms @>
|
<@ if prop.platforms @>
|
||||||
<h4>Platforms:</h4>
|
<b>Platforms:</b>
|
||||||
<ul>
|
|
||||||
<@- for platform in prop.platforms @>
|
<@- for platform in prop.platforms @>
|
||||||
<li><$ platform $></li>
|
<code><$ platform $></code>
|
||||||
<@ endfor -@>
|
<@ endfor -@>
|
||||||
</ul>
|
|
||||||
<@ endif @>
|
<@ endif @>
|
||||||
<@ endfor @>
|
<@ endfor @>
|
||||||
<@ endif -@>
|
<@ endif -@>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user