diff options
Diffstat (limited to 'doc')
-rw-r--r-- | doc/source/conf.py | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/doc/source/conf.py b/doc/source/conf.py index e172918..2899b22 100644 --- a/doc/source/conf.py +++ b/doc/source/conf.py @@ -101,3 +101,10 @@ latex_documents = [ # during an actual deployment and won't cause any issue during usage. autodoc_mock_imports = ['glance_store.common.fs_mount', 'glance_store.common.cinder_utils'] + +# Since version 4.2.0, Sphinx emits a warning when encountering a mocked +# object, leading to the following error: +# "A mocked object is detected: 'glance_store.common.cinder_utils'" +# To prevent this, we disable all warnings from the autodoc extension, since +# there is no finer grain yet. +suppress_warnings = ['autodoc.*'] |