mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-07-20 03:40:22 -07:00
c*.py: normalize docs (#9418)
* c*.py: normalize docs * fix copy/paste mistake * Apply suggestions from code review Co-authored-by: Felix Fontein <felix@fontein.de> --------- Co-authored-by: Felix Fontein <felix@fontein.de>
This commit is contained in:
parent
912065ad0e
commit
43599c6850
36 changed files with 1437 additions and 1614 deletions
|
@ -11,7 +11,6 @@ __metaclass__ = type
|
|||
|
||||
|
||||
DOCUMENTATION = r"""
|
||||
---
|
||||
module: cargo
|
||||
short_description: Manage Rust packages with cargo
|
||||
version_added: 4.3.0
|
||||
|
@ -39,16 +38,12 @@ options:
|
|||
elements: str
|
||||
required: true
|
||||
path:
|
||||
description:
|
||||
->
|
||||
The base path where to install the Rust packages. Cargo automatically appends
|
||||
V(/bin). In other words, V(/usr/local) will become V(/usr/local/bin).
|
||||
description: The base path where to install the Rust packages. Cargo automatically appends V(/bin). In other words,
|
||||
V(/usr/local) will become V(/usr/local/bin).
|
||||
type: path
|
||||
version:
|
||||
description:
|
||||
->
|
||||
The version to install. If O(name) contains multiple values, the module will
|
||||
try to install all of them in this version.
|
||||
description: The version to install. If O(name) contains multiple values, the module will try to install all of them
|
||||
in this version.
|
||||
type: str
|
||||
required: false
|
||||
locked:
|
||||
|
@ -65,7 +60,7 @@ options:
|
|||
required: false
|
||||
type: str
|
||||
default: present
|
||||
choices: [ "present", "absent", "latest" ]
|
||||
choices: ["present", "absent", "latest"]
|
||||
directory:
|
||||
description:
|
||||
- Path to the source directory to install the Rust package from.
|
||||
|
@ -74,7 +69,7 @@ options:
|
|||
required: false
|
||||
version_added: 9.1.0
|
||||
requirements:
|
||||
- cargo installed
|
||||
- cargo installed
|
||||
"""
|
||||
|
||||
EXAMPLES = r"""
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue