Sphinx == 1.1.3
-e git+https://github.com/ceph/sphinx-ditaa.git#egg=sphinx-ditaa
--e git+https://github.com/ceph/asphyxiate.git#egg=asphyxiate
+-e git+https://github.com/michaeljones/breathe#egg=breathe
'sphinx.ext.graphviz',
'sphinx.ext.todo',
'sphinx_ditaa',
- 'asphyxiate',
+ 'breathe',
]
todo_include_todos = True
man_pages = list(_get_manpages())
-asphyxiate_doxygen_xml = 'doxygen'
-
top_level = os.path.dirname(
os.path.dirname(
os.path.abspath(__file__)
)
)
+breathe_default_project = "Ceph"
+# see $(top_srcdir)/Doxyfile
+
+breathe_build_directory = os.path.join(top_level, "build-doc")
+breathe_projects = {"Ceph": os.path.join(top_level, breathe_build_directory)}
+breathe_projects_source = {
+ "Ceph": (os.path.join(top_level, "src/include/rados"),
+ ["rados_types.h", "librados.h"])
+}
pybind = os.path.join(top_level, 'src/pybind')
if pybind not in sys.path:
sys.path.insert(0, pybind)
API calls
=========
- .. doxygenfile:: rados_types.h
- .. doxygenfile:: librados.h
+ .. autodoxygenfile:: rados_types.h
+ .. autodoxygenfile:: librados.h