mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-06 13:22:48 +00: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:
3
docs/templates/plugin.rst.j2
vendored
3
docs/templates/plugin.rst.j2
vendored
@@ -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 %}
|
||||
|
||||
Reference in New Issue
Block a user