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
This commit is contained in:
parent
8a223009ca
commit
25523666ce
1 changed files with 1 additions and 1 deletions
2
docs/templates/plugin.rst.j2
vendored
2
docs/templates/plugin.rst.j2
vendored
|
@ -386,7 +386,7 @@ please refer to this `Knowledge Base article <https://access.redhat.com/articles
|
||||||
|
|
||||||
{% else %}
|
{% 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 %}
|
{% endif %}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue