Sha256: 0ea669d32d3889c0ddd2d774bba545fb944b7f300a0107740372ab11aa865b80
Contents?: true
Size: 1.4 KB
Versions: 1
Compression:
Stored size: 1.4 KB
Contents
### <%= name %> <% if text -%> <%= text %> <% elsif summary -%> <%= summary %> <% else -%> <%= "The #{name} data type." %> <% end -%> <% if todo -%> * **TODO** <%= todo %> <% end -%> <% if note -%> * **Note** <%= note %> <% end -%> <% if since -%> * **Since** <%= since %> <% end -%> <% if see -%> * **See also** <% see.each do |sa| -%> <% if sa[:name] -%> <%= sa[:name] %> <% end -%> <% if sa[:text] -%> <%= sa[:text] %> <% end -%> <% end -%> <% end -%> <% if examples -%> #### Examples <% examples.each do |eg| -%> ##### <%= eg[:name] %> ```puppet <%= eg[:text] %> ``` <% end -%> <% end -%> <% if alias_of -%> Alias of `<%= alias_of %>` <% end -%> <% if params -%> #### Parameters The following parameters are available in the `<%= name %>` <%= @type %>. <% params.each do |param| -%> ##### `<%= param[:name] %>` <% if param[:types] -%> Data type: `<%= param[:types].join(', ') -%>` <% end -%> <%= param[:text] %> <% if options_for_param(param[:name]) -%> Options: <% options_for_param(param[:name]).each do |o| -%> * **<%= o[:opt_name] %>** `<%= o[:opt_types][0] %>`: <%= o[:opt_text] %> <% end -%> <% end -%> <% if enums_for_param(param[:name]) -%> Options: <% enums_for_param(param[:name]).each do |e| -%> * **<%= e[:opt_name] %>**: <%= e[:opt_text] %> <% end -%> <% end -%> <% if defaults && defaults[param[:name]] -%> Default value: <%= value_string(defaults[param[:name]]) %> <% end -%> <% end -%> <% end -%>
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
puppet-strings-2.4.0 | lib/puppet-strings/markdown/templates/data_type.erb |