[WIP] disambiguating autogenerated module docs attempted fix of #38439. (#38890)

Disambiguates autogenerated module docs - fixes #38439.
This commit is contained in:
scottb
2018-04-17 18:45:07 -07:00
committed by GitHub
parent 50d151aef2
commit c97e508806
7 changed files with 30 additions and 24 deletions

View File

@@ -1,3 +1,5 @@
.. _ansible_configuration_settings:
{% set name = 'Ansible Configuration Settings' -%}
{% set name_slug = 'config' -%}

View File

@@ -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 %}

View File

@@ -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::

View File

@@ -1,6 +1,6 @@
:source: @{ source }@
.. _@{ module }@:
.. _@{ module }@_@{ plugin_type }@:
{% for alias in aliases %}
.. _@{ alias }@:
{% endfor %}