mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-07 13:52:54 +00:00
Disambiguates autogenerated module docs - fixes #38439.
This commit is contained in:
2
docs/templates/config.rst.j2
vendored
2
docs/templates/config.rst.j2
vendored
@@ -1,3 +1,5 @@
|
||||
.. _ansible_configuration_settings:
|
||||
|
||||
{% set name = 'Ansible Configuration Settings' -%}
|
||||
{% set name_slug = 'config' -%}
|
||||
|
||||
|
||||
@@ -11,7 +11,7 @@
|
||||
{% if category['_modules'] %}
|
||||
|
||||
{% for module in category['_modules'] | sort %}
|
||||
* :ref:`@{ module }@`{% if module_info[module]['deprecated'] %} **(D)**{% endif%}
|
||||
* :ref:`@{ module }@_@{ plugin_type }@`{% if module_info[module]['deprecated'] %} **(D)**{% endif%}
|
||||
{% endfor %}
|
||||
{% endif %}
|
||||
|
||||
@@ -25,7 +25,7 @@
|
||||
|
||||
|
||||
{% for module in info['_modules'] | sort %}
|
||||
* :ref:`@{ module }@`{% if module_info[module]['deprecated'] %} **(D)**{% endif%}
|
||||
* :ref:`@{ module }@_@{ plugin_type }@`{% if module_info[module]['deprecated'] %} **(D)**{% endif%}
|
||||
{% endfor %}
|
||||
|
||||
{% endfor %}
|
||||
|
||||
2
docs/templates/modules_by_support.rst.j2
vendored
2
docs/templates/modules_by_support.rst.j2
vendored
@@ -4,7 +4,7 @@ Modules Maintained by the @{ maintainers }@
|
||||
``````````````````````````@{ '`' * maintainers | length }@
|
||||
|
||||
{% for module in modules | sort %}
|
||||
* :ref:`@{ module }@`{% if module_info[module]['deprecated'] %} **(D)**{% endif%}
|
||||
* :ref:`@{ module }@_@{plugin_type}@`{% if module_info[module]['deprecated'] %} **(D)**{% endif%}
|
||||
{% endfor %}
|
||||
|
||||
.. note::
|
||||
|
||||
2
docs/templates/plugin.rst.j2
vendored
2
docs/templates/plugin.rst.j2
vendored
@@ -1,6 +1,6 @@
|
||||
:source: @{ source }@
|
||||
|
||||
.. _@{ module }@:
|
||||
.. _@{ module }@_@{ plugin_type }@:
|
||||
{% for alias in aliases %}
|
||||
.. _@{ alias }@:
|
||||
{% endfor %}
|
||||
|
||||
Reference in New Issue
Block a user