Use PluginLoader for module docs fragments

This commit is contained in:
Matt Martz 2014-02-24 20:48:15 -06:00 committed by Michael DeHaan
parent bb6f7a267a
commit 7b5f89ec7c
15 changed files with 107 additions and 61 deletions

View file

@ -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'),
'',
)