mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-07 05:42:50 +00:00
Allow documentation of module options type (#42285)
* Allow documentation of module options Pass through the `type` of a modules option so it's displayed on the html module docs * docs
This commit is contained in:
committed by
Brian Coca
parent
31dd41e4c5
commit
d962611528
@@ -239,7 +239,9 @@ The following fields can be used and are all required unless specified otherwise
|
||||
:choices:
|
||||
List of option values. Should be absent if empty.
|
||||
:type:
|
||||
If an argument is ``type='bool'``, this field should be set to ``type: bool`` and no ``choices`` should be specified.
|
||||
|
||||
* Specifies the data type that option accepts, must match the ``argspec``.
|
||||
* If an argument is ``type='bool'``, this field should be set to ``type: bool`` and no ``choices`` should be specified.
|
||||
:aliases:
|
||||
List of option name aliases; generally not needed.
|
||||
:version_added:
|
||||
|
||||
Reference in New Issue
Block a user