since we are able to build the python bindings using the stub
implementation of C binding, let's enable the API docs build.
Signed-off-by: Kefu Chai <kchai@redhat.com>
plantweb
git+https://github.com/readthedocs/readthedocs-sphinx-search@master
+Cython
+src/pybind/rados
+src/pybind/cephfs
+src/pybind/rbd
+src/pybind/rgw
build_with_rtd = os.environ.get('READTHEDOCS') == 'True'
-if build_with_rtd:
- exclude_patterns += ['**/api/*',
- '**/api.rst']
-
sys.path.insert(0, os.path.abspath('_ext'))
extensions = [
sys.modules['ceph_module'] = Mock()
if build_with_rtd:
- autodoc_mock_imports = ['cephfs',
- 'rados',
- 'rbd',
- 'ceph']
+ autodoc_mock_imports = ['ceph']
pybinds = ['pybind/mgr',
'python-common']
else: