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
(cherry picked from commit 25523666ce)
pull/38975/head
Toshio Kuratomi 7 years ago committed by Matt Davis
parent 61e3f32f81
commit 003c52f1ef

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