diff --git a/scripts/docs/templates/common.template.html b/scripts/docs/templates/common.template.html index 0c7bc6dfb0..281c46b68d 100644 --- a/scripts/docs/templates/common.template.html +++ b/scripts/docs/templates/common.template.html @@ -1,3 +1,11 @@ +--- +<@ include "lib/yaml.template.html" @> +title: "<@ if doc.docType == "directive" @><$ doc.name | dashCase $><@ else @><$ doc.name $><@ endif @>" +header_sub_title: "<$ doc.docType $> in module <$ doc.module $>" +doc: "<$ doc.name $>" +docType: "<$ doc.docType $>" +--- + <@ macro paramList(paramData) -@> <@- if paramData -@>( <@- for param in paramData -@> @@ -10,6 +18,47 @@ <@- endmacro -@> <@ block body @> +
+ + View Source + +   + + Improve this doc + +
+ +<@ block content @> + +<@ block header @> +

+<@ if doc.docType == "directive" @> + <$ doc.name | dashCase $> +<@ else @> + <$ doc.name $> +<@ endif @> +<@ if doc.parent @> +
+ + Child of <$ doc.parent $> + +<@ endif @> +<@ if doc.delegate @> +
+ + Delegate: <$ doc.delegate $> + +<@ endif @> +

+ +<@ if doc.codepen @> +{% include codepen.html id="<$ doc.codepen $>" %} +<@ endif @> +<@ endblock @> + +<@ block description @> +<$ doc.description $> +<@ endblock @>

<$ doc.name $> <$ doc.docType $>

exported from {@link <$ doc.moduleDoc.id $> <$doc.moduleDoc.id $> }
defined in <$ githubViewLink(doc) $> @@ -49,3 +98,4 @@ defined in <$ githubViewLink(doc) $> <@- endif -@> <@ endblock @> +<@ endblock @>