doc: Adjust docleaf configuration as needed

We make sure that we have the 'root' and 'xml' defined for the project
which is necessary at the moment for docleaf though the 'root' is only
really used for the 'linkcode' integration.

Signed-off-by: Michael Jones <m.pricejones@gmail.com>
This commit is contained in:
Michael Jones 2023-06-21 20:49:08 +01:00 committed by Fabio Baltieri
commit a3b7102273

View file

@ -213,12 +213,15 @@ doxyrunner_outdir_var = "DOXY_OUT"
# -- Options for Docleaf plugin -------------------------------------------
docleaf_projects = {"Zephyr": str(doxyrunner_outdir / "xml")}
docleaf_projects = {"Zephyr": {"xml": str(doxyrunner_outdir / "xml"), "root": "../"}}
docleaf_default_project = "Zephyr"
docleaf_domain_by_extension = {
"h": "c",
"c": "c",
}
# Filters out any 'function' or 'variable' members that have 'all caps' names as
# they are likely unprocessed macro calls
docleaf_doxygen_skip = ["members:all_caps"]
cpp_id_attributes = [
"__syscall",