mirror of
https://github.com/ceph/ceph
synced 2025-02-22 10:37:15 +00:00
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 <kchai@redhat.com>
This commit is contained in:
parent
14a150bea8
commit
65de919ec3
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user