Switch placement of Description and Installation
This commit is contained in:
parent
36d101af02
commit
8a81ee08e3
15
scripts/docs/templates/common.template.html
vendored
15
scripts/docs/templates/common.template.html
vendored
@ -164,19 +164,20 @@ docType: "<$ doc.docType $>"
|
|||||||
</p>
|
</p>
|
||||||
<@ endif @>
|
<@ endif @>
|
||||||
|
|
||||||
<# --- Install commands --- #>
|
<# --- Plugin description --- #>
|
||||||
<h2>Installation</h2>
|
<$ doc.description | marked $>
|
||||||
<pre><code class="nohighlight">$ <@ if prop.install @><$ prop.install $><@ else @>ionic plugin add --save <$ prop.plugin $><@ endif @>
|
|
||||||
$ npm install --save @ionic-native/<$ doc.npmId $>
|
|
||||||
</code></pre>
|
|
||||||
<p>Repo:
|
<p>Repo:
|
||||||
<a href="<$ prop.repo $>">
|
<a href="<$ prop.repo $>">
|
||||||
<$ prop.repo $>
|
<$ prop.repo $>
|
||||||
</a>
|
</a>
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
<# --- Plugin description --- #>
|
<# --- Install commands --- #>
|
||||||
<$ doc.description | marked $>
|
<h2>Installation</h2>
|
||||||
|
<pre><code class="nohighlight">$ <@ if prop.install @><$ prop.install $><@ else @>ionic plugin add --save <$ prop.plugin $><@ endif @>
|
||||||
|
$ npm install --save @ionic-native/<$ doc.npmId $>
|
||||||
|
</code></pre>
|
||||||
|
|
||||||
<# --- Plugin supported platforms --- #>
|
<# --- Plugin supported platforms --- #>
|
||||||
<@ if prop.platforms @>
|
<@ if prop.platforms @>
|
||||||
|
Loading…
Reference in New Issue
Block a user