diff options
author | Cyril Roelandt <cyril@redhat.com> | 2021-10-12 21:14:31 +0200 |
---|---|---|
committer | Cyril Roelandt <cyril@redhat.com> | 2021-10-12 21:14:31 +0200 |
commit | e4930e5dc8b7e3102a4f32ffa6a18af8b4cb3a3a (patch) | |
tree | d31ed292040d57eb31ed0c088d9c3a220f98377c /doc/source | |
parent | 68200a88ff03921f47c2fad872a7f7e451fd1638 (diff) | |
download | glance_store-e4930e5dc8b7e3102a4f32ffa6a18af8b4cb3a3a.tar.gz |
Fix documentation build with Sphinx>=4.2.0
Change-Id: I07b14385290cbaba570115a85233d35a88b4d586
Closes-Bug: #1946789
Diffstat (limited to 'doc/source')
-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.*'] |