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