mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-04-24 11:21:25 -07:00
centralize doc/config plugin lists (#38775)
* centralize doc/config plugin lists also update list for generation in docsite added note to ensure they are in sync * updated shell page to list plugins added some more docs hinting at plugins being configurable * fix edit link for plugins
This commit is contained in:
parent
a30befa609
commit
bdbb89378f
6 changed files with 27 additions and 10 deletions
|
@ -209,9 +209,8 @@ class PluginLoader:
|
|||
if self.class_name:
|
||||
type_name = get_plugin_class(self.class_name)
|
||||
|
||||
# FIXME: expand to other plugins, but never doc fragments
|
||||
# if type name != 'module_doc_fragment':
|
||||
if type_name in ('callback', 'connection', 'inventory', 'lookup', 'shell'):
|
||||
if type_name in C.CONFIGURABLE_PLUGINS:
|
||||
dstring = get_docstring(path, fragment_loader, verbose=False, ignore_errors=True)[0]
|
||||
|
||||
if dstring and 'options' in dstring and isinstance(dstring['options'], dict):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue