diff --git a/scripts/docs/templates/common.template.html b/scripts/docs/templates/common.template.html index 8528a6a1b4..8a72532a35 100644 --- a/scripts/docs/templates/common.template.html +++ b/scripts/docs/templates/common.template.html @@ -74,6 +74,7 @@ docType: "<$ doc.docType $>" <@- endmacro -@> <@ block body @> +
<$ doc.directiveInfo.properties[0].values $>| Attribute | + +<@ set hasTypes = false @> +<@ for prop in doc.properties @> +<@ if prop.type @> +<@ set hasTypes = true @> +<@ endif @> <@ endfor @> -<@ endif -@> +<@ if hasTypes @> +Type | +<@ endif @> + +Description | +
|---|---|---|
| +<$ prop.name $> + | + +<@ if hasTypes @> ++<$ prop.type.name $> + | +<@ endif @> + ++<$ prop.description $> + | +
| Attribute | - <@ set hasTypes = false @> - <@ for prop in doc.properties @> - <@ if prop.type @> - <@ set hasTypes = true @> - <@ endif @> - <@ endfor @> - <@ if hasTypes @> -Type | - <@ endif @> -Description | -
|---|---|---|
| - <$ prop.name $> - | - - <@ if hasTypes @> -- <$ prop.type.name $> - | - <@ endif @> - -- <$ prop.description $> - | -