From: Kefu Chai Date: Tue, 31 May 2016 10:33:08 +0000 (+0800) Subject: doc: add breathe_domain_by_extension to conf.py X-Git-Tag: v11.0.0~369^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=65de919ec324aee858d8d9596657fa102ab43a41;p=ceph.git 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 --- diff --git a/doc/conf.py b/doc/conf.py index 7199b1669de..3534c033c9b 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)