Switch placement of Description and Installation

This commit is contained in:
Jan Piotrowski 2017-05-05 13:06:31 +02:00
parent 36d101af02
commit 8a81ee08e3

View File

@ -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 @>