diff options
author | Jordan Borean <jborean93@gmail.com> | 2018-10-08 20:54:53 +0200 |
---|---|---|
committer | Alicia Cozine <879121+acozine@users.noreply.github.com> | 2018-10-08 20:54:53 +0200 |
commit | 1599752f265981576f2cf9365adee884db6c4063 (patch) | |
tree | 0916d5efa5c5b60c53e2adbb5cc96172d7fb2e67 /docs/templates | |
parent | added jinja2 example (#46445) (diff) | |
download | ansible-1599752f265981576f2cf9365adee884db6c4063.tar.xz ansible-1599752f265981576f2cf9365adee884db6c4063.zip |
docs: add Support section for plugin types (#46520)
* docs: add Maintenance section for plugin types
* Added supported_by name in bold to match Status
Diffstat (limited to 'docs/templates')
-rw-r--r-- | docs/templates/plugin.rst.j2 | 17 |
1 files changed, 15 insertions, 2 deletions
diff --git a/docs/templates/plugin.rst.j2 b/docs/templates/plugin.rst.j2 index 9514047aa5..095b9aa346 100644 --- a/docs/templates/plugin.rst.j2 +++ b/docs/templates/plugin.rst.j2 @@ -384,7 +384,7 @@ Status ------ {% if not deprecated %} -{% set support = { 'core': 'The Ansible Core Team', 'network': 'The Ansible Network Team', 'certified': 'an Ansible Partner', 'community': 'The Ansible Community', 'curated': 'A Third Party'} %} +{% set support = { 'core': 'the Ansible Core Team', 'network': 'the Ansible Network Team', 'certified': 'an Ansible Partner', 'community': 'the Ansible Community', 'curated': 'a Third Party'} %} {% set module_states = { 'preview': 'it is not guaranteed to have a backwards compatible interface', 'stableinterface': 'the maintainers for this module guarantee that no backward incompatible interface changes will be made'} %} {% if metadata %} @@ -396,12 +396,25 @@ This @{ plugin_type }@ is flagged as **@{cur_state}@** which means that @{module {% endif %} -{% if metadata.supported_by in ('core', 'network') %} +{% if metadata.supported_by %} + +Maintenance +----------- + +{% set supported_by = support[metadata.supported_by] %} +This @{ plugin_type }@ is flagged as **@{metadata.supported_by}@** which means that it is maintained by @{ supported_by }@. See :ref:`Module Maintenance & Support <modules_support>` for more info. + +For a list of other modules that are also maintained by @{ supported_by }@, see :ref:`here <@{ metadata.supported_by }@_supported>`. + +{% if metadata.supported_by in ('core', 'network') %} Support ~~~~~~~ + For more information about Red Hat's support of this @{ plugin_type }@, please refer to this `Knowledge Base article <https://access.redhat.com/articles/rhel-top-support-policies/>`_ +{% endif %} + {% endif %} {% endif %} |