mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-04-24 11:21:25 -07:00
Use PluginLoader for module docs fragments
This commit is contained in:
parent
bb6f7a267a
commit
7b5f89ec7c
15 changed files with 107 additions and 61 deletions
|
@ -240,4 +240,9 @@ filter_loader = PluginLoader(
|
|||
'filter_plugins'
|
||||
)
|
||||
|
||||
|
||||
fragment_loader = PluginLoader(
|
||||
'ModuleDocFragment',
|
||||
'ansible.utils.module_docs_fragments',
|
||||
os.path.join(os.path.dirname(__file__), 'module_docs_fragments'),
|
||||
'',
|
||||
)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue