wireplumber/docs/rst
Peter Hutterer d38c3fb4cc lib: add functions to search in configuration/data directories
The previous approach to loading config files was to ask WP for the
directory and then search those for the config files. This patch changes the
approach - a caller now asks WP to search for a specific config file or
iterate over a config file directory.

This allows us to implement a directory lookup order, i.e.
"wireplumber.conf" may be in XDG_CONFIG_DIR, /etc/,
/usr/share and the first one found is used.

For configuration directories, the new method iterates over all matching
entries (files + directories) and invokes a callback for each entry.

This enables distributions to ship default files in /usr/share/wireplumber
but have admins and users override them on a local basis. For lua scripts in
particular, overriding a distribution-provided file with an empty file
effectively disables it, adding a file adds it in the right sort order.
2021-07-15 15:17:01 +00:00
..
c_api docs: remove :project: annotations for breathe 2021-06-08 17:12:26 +03:00
lua_api docs: document the lua ObjectManager / Interest / Constraint APIs 2021-07-02 20:24:25 +03:00
c_api.rst docs: fix C API documentation to work nicely with doxygen & sphinx 2021-05-25 14:19:53 +03:00
community.rst docs: mention the new matrix room in the community resources 2021-06-30 19:51:21 +03:00
contributing.rst docs: tidy up most documents and try to update the information in them 2021-05-26 19:20:05 +03:00
daemon-configuration.rst lib: add functions to search in configuration/data directories 2021-07-15 15:17:01 +00:00
daemon-logging.rst docs: tidy up most documents and try to update the information in them 2021-05-26 19:20:05 +03:00
index.rst docs: tidy up most documents and try to update the information in them 2021-05-26 19:20:05 +03:00
installing-wireplumber.rst docs: tidy up most documents and try to update the information in them 2021-05-26 19:20:05 +03:00
lua_api.rst docs: make progress on lua api documentation 2021-05-28 19:22:56 +03:00
meson.build docs: convert NEWS to rst and add it in the generated docs 2021-05-26 09:30:06 +03:00
releases.rst docs: convert NEWS to rst and add it in the generated docs 2021-05-26 09:30:06 +03:00
running-wireplumber-daemon.rst docs: tidy up most documents and try to update the information in them 2021-05-26 19:20:05 +03:00
testing.rst docs: tidy up most documents and try to update the information in them 2021-05-26 19:20:05 +03:00