diff --git a/scripts/docs/templates/common.template.html b/scripts/docs/templates/common.template.html index d01772eee..3eeeff32c 100644 --- a/scripts/docs/templates/common.template.html +++ b/scripts/docs/templates/common.template.html @@ -116,8 +116,9 @@ docType: "<$ doc.docType $>" <@- if doc.decorators @> + <@ for prop in doc.decorators[0].argumentInfo @> -
$ cordova plugin add <$ prop.plugin $>
+$ <@ if prop.install @><$ prop.install $><@ else @>cordova plugin add <$ prop.plugin $><@ endif -@>