1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00

Add alias's as a :ref: target for modules

This is especially important for deprecated modules as we want to link
to those in porting guides and such.
This commit is contained in:
Toshio Kuratomi 2018-03-15 10:29:03 -07:00
parent 73c80862c8
commit 8f1b5fc47b

View file

@ -1,6 +1,9 @@
:source: @{ source }@
.. _@{ module }@:
{% for alias in aliases %}
.. _@{ alias }@:
{% endfor %}
{% if short_description %}
{% set title = module + ' - ' + short_description|convert_symbols_to_format %}