Files
scylladb/docs/_templates/db_config.tmpl
David Garcia 2247bdbc8c docs: Fix confgroup links
It was not possible to link to configuration parameters groups in docs/reference/configuration-parameters.rst if they contained a space.

Closes scylladb/scylladb#21018
2024-10-09 20:16:15 +03:00

23 lines
501 B
ReStructuredText

.. -*- mode: rst -*-
{% for group in data %}
{% if group.value_status_count[value_status] > 0 %}
.. _confgroup_{{ group.name|lower|replace(" ", "_") }}:
{{ group.name }}
{{ '-' * (group.name|length) }}
{% if group.description %}
{{ group.description | readable_desc_rst }}
{% endif %}
{% for item in group.properties %}
{% if item.value_status == value_status %}
.. _confprop_{{ item.name|lower|replace(" ", "_") }}:
.. confval:: {{ item.name }}
{% endif %}
{% endfor %}
{% endif %}
{% endfor %}