provider/ansible/documentation.rb
# Builds out the minimal YAML block for DOCUMENTATION
Builds out the minimal YAML block for DOCUMENTATION
Builds out the minimal YAML block for DOCUMENTATION
def minimal_doc_block(prop, config, spaces)
        [
          minimal_yaml(prop, spaces),
          indent([
            "required: #{prop.required ? 'true' : 'false'}",
            ("aliases: [#{config['aliases'][prop.name].join(', ')}]" \
             if config['aliases']&.keys&.include?(prop.name))
          ].compact, 4)
        ]
      end
def minimal_doc_block ( prop , config , spaces ) [ minimal_yaml ( prop , spaces ) , indent ( [ "required: #{prop.required ? 'true' : 'false'}" , ( "aliases: [#{config['aliases'][prop.name].join(', ')}]" if config [ 'aliases' ] &. keys &. include? ( prop . name ) ) ] . compact , 4 ) ] end
Builds out the minimal YAML block for DOCUMENTATION
Builds out the minimal YAML block for DOCUMENTATION
prop
<not_specific>
config
<not_specific>
spaces
<not_specific>