openstack-doc-tools/autogenerate_config_docs/templates/changes.rst.j2

62 lines
1.4 KiB
Django/Jinja

New, updated, and deprecated options in {{ release }} for {{ codename }}
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~{{ '~' * release|length }}~~~~~{{ '~' * codename|length }}
..
Warning: Do not edit this file. It is automatically generated and your
changes will be overwritten. The tool to do so lives in the
openstack-doc-tools repository.
{% if new_opts %}
.. list-table:: New options
:header-rows: 1
:class: config-ref-table
* - Option = default value
- (Type) Help string
{% for cells in new_opts %}
* - ``{{ cells[0] }}``
- {{ cells[1] }}
{% endfor %}
{% endif %}
{% if new_defaults %}
.. list-table:: New default values
:header-rows: 1
:class: config-ref-table
* - Option
- Previous default value
- New default value
{% for cells in new_defaults %}
* - ``{{ cells[0] }}``
{% if cells[1] is equalto '' %}
-
{% else %}
- ``{{ cells[1] }}``
{% endif %}
{% if cells[2] is equalto '' %}
-
{% else %}
- ``{{ cells[2] }}``
{% endif %}
{% endfor %}
{% endif %}
{% if deprecated_opts %}
.. list-table:: Deprecated options
:header-rows: 1
:class: config-ref-table
* - Deprecated option
- New Option
{% for cells in deprecated_opts %}
* - ``{{ cells[0] }}``
- ``{{ cells[1] }}``
{% endfor %}
{% endif %}
{% if not new_opts and not new_defaults and not deprecated_opts %}
There are no new, updated, and deprecated options
in {{ release }} for {{ codename }}.
{% endif %}