From 65de919ec324aee858d8d9596657fa102ab43a41 Mon Sep 17 00:00:00 2001 From: Kefu Chai Date: Tue, 31 May 2016 18:33:08 +0800 Subject: [PATCH] doc: add breathe_domain_by_extension to conf.py so it can render the doxygen generated objects with the proper domain by checking the extension of rendered source file. Signed-off-by: Kefu Chai --- doc/conf.py | 1 + 1 file changed, 1 insertion(+) diff --git a/doc/conf.py b/doc/conf.py index 7199b1669de8b..3534c033c9b73 100644 --- a/doc/conf.py +++ b/doc/conf.py @@ -59,6 +59,7 @@ breathe_projects_source = { "Ceph": (os.path.join(top_level, "src/include/rados"), ["rados_types.h", "librados.h"]) } +breathe_domain_by_extension = {'py': 'py', 'c': 'c', 'h': 'c', 'cc': 'cxx', 'hpp': 'cxx'} pybind = os.path.join(top_level, 'src/pybind') if pybind not in sys.path: sys.path.insert(0, pybind) -- 2.39.5