mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-10-22 20:13:59 -07:00
add metadata to doc support (#18802)
fix broken module docs change doc AST id extraction to use == instead of in
This commit is contained in:
parent
5628e260f2
commit
cb1888125d
6 changed files with 42 additions and 10 deletions
|
@ -499,7 +499,7 @@ class ModuleValidator(Validator):
|
|||
with CaptureStd():
|
||||
try:
|
||||
existing = module_loader.find_plugin(self.name, mod_type='.py')
|
||||
existing_doc, _, _ = get_docstring(existing, verbose=True)
|
||||
existing_doc, _, _, _ = get_docstring(existing, verbose=True)
|
||||
existing_options = existing_doc.get('options', {})
|
||||
except AssertionError:
|
||||
fragment = doc['extends_documentation_fragment']
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue