mirror of https://github.com/ansible/ansible.git
better error message for malformed documentation (#84705)
No the file name that caused the error will be apparent --------- Signed-off-by: Abhijeet Kasurde <Akasurde@redhat.com> Co-authored-by: Abhijeet Kasurde <Akasurde@redhat.com>pull/84618/merge
parent
cc30f25c42
commit
55e9e21ded
@ -0,0 +1,2 @@
|
||||
minor_changes:
|
||||
- improved error message for yaml parsing errors in plugin documentation
|
||||
@ -0,0 +1,16 @@
|
||||
# Copyright (c) 2022 Ansible Project
|
||||
# GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt)
|
||||
|
||||
from __future__ import annotations
|
||||
|
||||
|
||||
DOCUMENTATION = """
|
||||
name: broken_docs
|
||||
-
|
||||
"""
|
||||
|
||||
EXAMPLE = """
|
||||
"""
|
||||
|
||||
RETURN = """
|
||||
"""
|
||||
Loading…
Reference in New Issue