create default status for when not provided
* also updated text to be 'plugin friendly' vs hardcoding modules (cherry picked from commit 341a0f7b035588557d35fc12164a0f4031c786fe)
This commit is contained in:
parent
2496fd35fb
commit
b21c7c0232
1 changed files with 5 additions and 3 deletions
8
docs/templates/plugin.rst.j2
vendored
8
docs/templates/plugin.rst.j2
vendored
|
@ -391,7 +391,7 @@ Status
|
|||
{% if metadata.status %}
|
||||
|
||||
{% for cur_state in metadata.status %}
|
||||
This module is flagged as **@{cur_state}@** which means that @{module_states[cur_state]}@.
|
||||
This @{ plugin_type }@ is flagged as **@{cur_state}@** which means that @{module_states[cur_state]}@.
|
||||
{% endfor %}
|
||||
|
||||
{% endif %}
|
||||
|
@ -402,13 +402,15 @@ Support
|
|||
~~~~~~~
|
||||
For more information about Red Hat's support of this @{ plugin_type }@,
|
||||
please refer to this `Knowledge Base article <https://access.redhat.com/articles/rhel-top-support-policies/>`_
|
||||
|
||||
{% else %}
|
||||
This @{ plugin_type }@ is flagged as **preview** which means that @{module_states['preview']}@.
|
||||
{% endif %}
|
||||
|
||||
{% endif %}
|
||||
|
||||
{% 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 `DEPRECATED`_.
|
||||
This @{ plugin_type }@ 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…
Reference in a new issue