Skip to content

Commit 36cb3c3

Browse files
committed
Fix
1 parent df97372 commit 36cb3c3

File tree

2 files changed

+10
-4
lines changed

2 files changed

+10
-4
lines changed

doc/reference/configuration/configuration_reference.rst

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3912,6 +3912,12 @@ This section describes configuration parameters related to :ref:`application rol
39123912

39133913
See also: :ref:`configuration_application_roles`
39143914

3915+
.. tip::
3916+
3917+
The :ref:`experimental.config.utils.schema <config_utils_schema_module>`
3918+
built-in module provides an API for managing user-defined configurations
3919+
of applications (``app.cfg``) and roles (``roles_cfg``).
3920+
39153921
|
39163922
| Type: map
39173923
| Default: nil

doc/reference/reference_lua/config/utils_schema.rst

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -413,7 +413,7 @@ User-defined methods
413413

414414
A schema can implement custom logic with *methods* -- user-defined functions that can be called on this schema.
415415

416-
For example, this schema has a method that returns its fields merged in a URI string:
416+
For example, this schema has the ``format`` method that returns its fields merged in a URI string:
417417

418418
.. literalinclude:: /code_snippets/snippets/config/instances.enabled/config_schema_methods/http_api.lua
419419
:language: lua
@@ -451,7 +451,7 @@ When writing roles, call this function inside the :ref:`role validation function
451451
Getting configuration values
452452
~~~~~~~~~~~~~~~~~~~~~~~~~~~~
453453

454-
To get configuration values, use the schema's :ref:`get() <config-schema_object-get>` method.
454+
To get configuration values, use the schema object's :ref:`get() <config-schema_object-get>` method.
455455
The function takes the configuration and the full path to the node as arguments:
456456

457457
.. literalinclude:: /code_snippets/snippets/config/instances.enabled/config_schema_nodes_record_hierarchy/http_api.lua
@@ -941,7 +941,7 @@ schema_object
941941

942942
.. important::
943943

944-
The method doesn't return records nodes.
944+
The method doesn't return record nodes.
945945

946946
:return: a luafun iterator
947947

@@ -1014,7 +1014,7 @@ schema_object
10141014

10151015
Schema nodes hierarchy.
10161016

1017-
**See also:** ``schema_node_object``
1017+
**See also:** :ref:`config-utils-schema_node_object`
10181018

10191019

10201020
.. _config-utils-schema_node_annotation:

0 commit comments

Comments
 (0)