mirror of
https://github.com/scylladb/scylladb.git
synced 2026-05-12 19:02:12 +00:00
docs: Implement relative link support for configuration properties
Introduces relative link support for individual properties listed on the configuration properties page. For instance, to link to a property from a different document, use the syntax :ref:`memtable_flush_static_shares <confprop_memtable_flush_static_shares>`. Additionally, it also adds support for linking groups. For example, :ref:`Ungrouped properties <confgroup_ungrouped_properties>`. Closes scylladb/scylladb#17753
This commit is contained in:
committed by
Botond Dénes
parent
2479328e3b
commit
559dc9bb27
4
docs/_templates/db_config.tmpl
vendored
4
docs/_templates/db_config.tmpl
vendored
@@ -2,6 +2,8 @@
|
||||
|
||||
{% for group in data %}
|
||||
{% if group.value_status_count[value_status] > 0 %}
|
||||
.. _confgroup_{{ group.name }}:
|
||||
|
||||
{{ group.name }}
|
||||
{{ '-' * (group.name|length) }}
|
||||
|
||||
@@ -11,6 +13,8 @@
|
||||
|
||||
{% for item in group.properties %}
|
||||
{% if item.value_status == value_status %}
|
||||
.. _confprop_{{ item.name }}:
|
||||
|
||||
.. confval:: {{ item.name }}
|
||||
{% endif %}
|
||||
{% endfor %}
|
||||
|
||||
Reference in New Issue
Block a user