[PR #9395/3048d530 backport][stable-9] g*.py: normalize docs (#9414)

g*.py: normalize docs (#9395)

* g*.py: normalize docs

* Update plugins/modules/gandi_livedns.py

Co-authored-by: Felix Fontein <felix@fontein.de>

---------

Co-authored-by: Felix Fontein <felix@fontein.de>
(cherry picked from commit 3048d5305d)

Co-authored-by: Alexei Znamensky <103110+russoz@users.noreply.github.com>
This commit is contained in:
patchback[bot] 2024-12-26 22:44:22 +01:00 committed by GitHub
parent 87d63c5bed
commit a66b9fc5c9
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
36 changed files with 633 additions and 683 deletions

View file

@ -10,7 +10,7 @@ from __future__ import absolute_import, division, print_function
__metaclass__ = type
DOCUMENTATION = '''
DOCUMENTATION = r"""
module: github_issue
short_description: View GitHub issue
description:
@ -40,24 +40,24 @@ options:
type: int
action:
description:
- Get various details about issue depending upon action specified.
- Get various details about issue depending upon action specified.
default: 'get_status'
choices:
- 'get_status'
- get_status
type: str
author:
- Abhijeet Kasurde (@Akasurde)
'''
- Abhijeet Kasurde (@Akasurde)
"""
RETURN = '''
RETURN = r"""
issue_status:
description: State of the GitHub issue
type: str
returned: success
sample: open, closed
'''
description: State of the GitHub issue.
type: str
returned: success
sample: open, closed
"""
EXAMPLES = '''
EXAMPLES = r"""
- name: Check if GitHub issue is closed or not
community.general.github_issue:
organization: ansible
@ -70,7 +70,7 @@ EXAMPLES = '''
ansible.builtin.debug:
msg: Do something when issue 23642 is open
when: r.issue_status == 'open'
'''
"""
import json