Skip to content

Commit

Permalink
Puppet/Docs: Display param text
Browse files Browse the repository at this point in the history
  • Loading branch information
jakemalley committed Aug 18, 2020
1 parent 1143063 commit 7ca3335
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion templates/puppet/docs.html
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,8 @@ <h5>Parameters</h5>
<p>
{%- for p in data[class].param -%}
<strong><code>{{ p.name }}</code></strong><br/>
Data Type:&nbsp;{%- for t in p.types -%}<code>{{ t }}</code>,{%- endfor -%}</br>
Data Type:&nbsp;{%- for t in p.types -%}<code>{{ t }}</code>{{ "," if not loop.last }}{%- endfor -%}</br>
Description:&nbsp;{%- if p.text -%}{{ p.text }}{%- else -%}None{%- endif -%}<br/>
{%- endfor -%}
</p>
{%- endif-%}
Expand Down

0 comments on commit 7ca3335

Please sign in to comment.