Modules that have a link to their own deprecated section need to use a different link syntax (#38697)

The :ref: syntax is for linking to targets which are defined for the
whole document tree.  `link`_ is for linking to targets which are inside
of the document.  We want the latter for deprecated sections because
otherwise we'd have to create namespaced link targets for them.

Also fix expansion of version a deprecated module will be removed in
pull/38714/head
Toshio Kuratomi 7 years ago committed by scottb
parent 8a223009ca
commit 25523666ce

@ -386,7 +386,7 @@ please refer to this `Knowledge Base article <https://access.redhat.com/articles
{% else %}
This module is flagged as **deprecated** and will be removed in version { deprecated['removed_in'] | default('') | string | convert_symbols_to_format }@. For more information see :ref:`DEPRECATED`.
This module is flagged as **deprecated** and will be removed in version @{ deprecated['removed_in'] | default('') | string | convert_symbols_to_format }@. For more information see `DEPRECATED`_.
{% endif %}

Loading…
Cancel
Save