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.

(cherry picked from commit 8f1b5fc47b)
pull/38926/head
Toshio Kuratomi 7 years ago
parent 10aa5a37aa
commit 4091ab479f

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

Loading…
Cancel
Save