blob: 10b5b00b303de1852d7a477febb7132e4122727f [file] [log] [blame]
.. _module-pw_config_loader:
----------------
pw_config_loader
----------------
This directory contains the code to extract specific sections of user-specific
configuration files for different parts of Pigweed.
There are two different supported structures for extracting sections:
.. code-block:: yaml
section_title:
foo: bar
.. code-block:: yaml
config_title: section_title
foo: bar
In addition, section titles can be nested:
.. code-block:: yaml
section_title:
subtitle:
subsubtitle:
foo: bar
.. code-block:: yaml
config_title: section_title.subtitle.subsubtitle
foo: bar
Similar data structures are also supported in JSON and TOML.