diff --git a/doc/conf.py b/doc/conf.py index 34c91bf6cd4b5..1eb3439ddd7a4 100644 --- a/doc/conf.py +++ b/doc/conf.py @@ -90,6 +90,11 @@ ["rados_types.h", "librados.h"]) } breathe_domain_by_extension = {'py': 'py', 'c': 'c', 'h': 'c', 'cc': 'cxx', 'hpp': 'cxx'} +breathe_doxygen_config_options = { + 'EXPAND_ONLY_PREDEF': 'YES', + 'MACRO_EXPANSION': 'YES', + 'PREDEFINED': 'CEPH_RADOS_API= ' +} # the docs are rendered with github links pointing to master. the javascript # snippet in _static/ceph.js rewrites the edit links when a page is loaded, to