diff --git a/docs/templates/api/api.template.html b/docs/templates/api/api.template.html index 243e824f96..13a3fe685c 100644 --- a/docs/templates/api/api.template.html +++ b/docs/templates/api/api.template.html @@ -1,3 +1,17 @@ +--- +<@ include "lib/yaml.template.html" @> +title: "<@ if doc.docType == "directive" @><$ doc.name | dashCase $><@ else @><$ doc.name $><@ endif @>" +header_sub_title: "<$ doc.docType | capital $> in module <$ doc.module $>" +doc: "<$ doc.name $>" +docType: "<$ doc.docType $>" +--- + +
+ + Improve this doc + +
+ <@ extends "base.template.html" @> <@ block content @> diff --git a/docs/templates/api/input.template.html b/docs/templates/api/input.template.html deleted file mode 100644 index ed98e4ec4b..0000000000 --- a/docs/templates/api/input.template.html +++ /dev/null @@ -1,12 +0,0 @@ -<@ include "lib/macros.html" -@> -<@ extends "api/directive.template.html" @> - -<@ block usage @> -

Usage

- <@ code @> - - <$ directiveParam(param.alias or param.name, param.type, '="', '"') $> - <@- endfor @>> - <@ endcode @> -<@ endblock @> diff --git a/docs/templates/api/module.template.html b/docs/templates/api/module.template.html deleted file mode 100644 index 139e8ac78e..0000000000 --- a/docs/templates/api/module.template.html +++ /dev/null @@ -1,70 +0,0 @@ -<@ extends "base.template.html" @> - -<@ block content @> -

- <@ if doc.title @><$ doc.title | marked $><@ else @><$ doc.name | code $><@ endif @> -

- -<$ doc.description | marked $> - -<@ if doc.name != 'ng' and doc.name != 'auto' @> -

Installation

- -

First include <$ doc.packageFile | code $> in your HTML:

- - <@ code @> -