doc: Switch to using docleaf for doxygen entities

This switches the Sphinx conf.py file over to using the
'docleaf.doxygen' module and the associated docleaf configuration
entries, replacing the breathe module and config.

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 20986ec45d

View file

@ -67,7 +67,7 @@ release = version
# -- General configuration ------------------------------------------------
extensions = [
"breathe",
"docleaf.doxygen",
"sphinx.ext.todo",
"sphinx.ext.extlinks",
"sphinx.ext.autodoc",
@ -211,16 +211,14 @@ doxyrunner_fmt = True
doxyrunner_fmt_vars = {"ZEPHYR_BASE": str(ZEPHYR_BASE), "ZEPHYR_VERSION": version}
doxyrunner_outdir_var = "DOXY_OUT"
# -- Options for Breathe plugin -------------------------------------------
# -- Options for Docleaf plugin -------------------------------------------
breathe_projects = {"Zephyr": str(doxyrunner_outdir / "xml")}
breathe_default_project = "Zephyr"
breathe_domain_by_extension = {
docleaf_projects = {"Zephyr": str(doxyrunner_outdir / "xml")}
docleaf_default_project = "Zephyr"
docleaf_domain_by_extension = {
"h": "c",
"c": "c",
}
breathe_show_enumvalue_initializer = True
breathe_default_members = ("members", )
cpp_id_attributes = [
"__syscall",