diff --git a/lib/puppetx/puppetlabs/strings/yard/templates/default/definedtype/html/parameter_details.erb b/lib/puppetx/puppetlabs/strings/yard/templates/default/definedtype/html/parameter_details.erb index c27523b..b5753d4 100644 --- a/lib/puppetx/puppetlabs/strings/yard/templates/default/definedtype/html/parameter_details.erb +++ b/lib/puppetx/puppetlabs/strings/yard/templates/default/definedtype/html/parameter_details.erb @@ -6,34 +6,36 @@ <% if !param[:exists?] %> <% end %> - <%= param[:name] %> - <%# TODO: Linkify defaults that resolve to variable declarations in a different scope. %> - <% if param[:types] %> - - ( <% param[:types].each do |type| %> - - <% if param[:types].last != type %> - <%= type %>, - <% else %> - <%= type %> - <% end %> - - <% end %>) - - <% end %> - <% unless param[:module].nil? %> - <%= "=> #{param[:module]}" %> - <% end %> - <% if param[:desc]%> - — -
-

<%= param[:desc] %>

-
- <% end %> - - <% if !param[:exists] %> -
- <% end %> + <%= param[:name] %> + <%# TODO: Linkify defaults that resolve to variable declarations in a different scope. %> + + <% if param[:types] %> + (<% param[:types].each do |type| %> + + <% if param[:types].last != type %> + <%= type %>, + <% else %> + <%= type %> + <% end %> + + <% end %>) + <% else %> + (TBD) + <% end %> + + <% unless param[:module].nil? %> + <%= "=> #{param[:module]}" %> + <% end %> + <% if param[:desc]%> + — +
+

<%= param[:desc] %>

+
+ <% end %> + <% if !param[:exists] %> + + <% end %> + <% end %>