• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1.. _module-pw_config_loader:
2
3----------------
4pw_config_loader
5----------------
6.. pigweed-module::
7   :name: pw_config_loader
8
9This directory contains the code to extract specific sections of user-specific
10configuration files for different parts of Pigweed.
11
12There are two different supported structures for extracting sections:
13
14.. code-block:: yaml
15
16   section_title:
17     foo: bar
18
19.. code-block:: yaml
20
21   config_title: section_title
22   foo: bar
23
24In addition, section titles can be nested:
25
26.. code-block:: yaml
27
28   section_title:
29     subtitle:
30       subsubtitle:
31         foo: bar
32
33.. code-block:: yaml
34
35   config_title: section_title.subtitle.subsubtitle
36   foo: bar
37
38Similar data structures are also supported in JSON and TOML.
39