From 7ca3335ccabae7f9ac6fd0addba9fe1cc69f8297 Mon Sep 17 00:00:00 2001 From: Jake Malley Date: Tue, 18 Aug 2020 16:15:39 +0100 Subject: [PATCH] Puppet/Docs: Display param text --- templates/puppet/docs.html | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/templates/puppet/docs.html b/templates/puppet/docs.html index f1e61d1b..f420dbe0 100644 --- a/templates/puppet/docs.html +++ b/templates/puppet/docs.html @@ -43,7 +43,8 @@
Parameters

{%- for p in data[class].param -%} {{ p.name }}
- Data Type: {%- for t in p.types -%}{{ t }},{%- endfor -%}
+ Data Type: {%- for t in p.types -%}{{ t }}{{ "," if not loop.last }}{%- endfor -%}
+ Description: {%- if p.text -%}{{ p.text }}{%- else -%}None{%- endif -%}
{%- endfor -%}

{%- endif-%}