mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-07 13:52:54 +00:00
Use PluginLoader for module docs fragments
This commit is contained in:
committed by
Michael DeHaan
parent
bb6f7a267a
commit
7b5f89ec7c
@@ -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'),
|
||||
'',
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user