[PR #9418/43599c68 backport][stable-10] c*.py: normalize docs (#9426)

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>
(cherry picked from commit 43599c6850)

Co-authored-by: Alexei Znamensky <103110+russoz@users.noreply.github.com>
This commit is contained in:
patchback[bot]
2024-12-27 14:44:36 +01:00
committed by GitHub
parent 05ba79c5fe
commit 3db0a11148
36 changed files with 1437 additions and 1614 deletions

View File

@@ -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"""