summaryrefslogtreecommitdiffstats
path: root/docs/source/conf.py
diff options
context:
space:
mode:
authorCalum Lind <calumlind+deluge@gmail.com>2018-09-20 11:45:47 +0100
committerCalum Lind <calumlind@gmail.com>2018-11-02 08:45:39 +0000
commitdc6e93541b107df0c02fc9257a9eecfcc18b7dc7 (patch)
tree58650dfa1c35198be9f6a2ccc8ed4df3849ba97f /docs/source/conf.py
parentf6ffb940ab23db9381787935624d0b7cc17285c7 (diff)
downloaddeluge-dc6e93541b107df0c02fc9257a9eecfcc18b7dc7.tar.gz
deluge-dc6e93541b107df0c02fc9257a9eecfcc18b7dc7.tar.bz2
deluge-dc6e93541b107df0c02fc9257a9eecfcc18b7dc7.zip
[Docs] Fix mocking external modules
With move to GTK3 needed to update the mocking of external modules. There is a new autodoc option `autodoc_mock_imports` so use this instead of the custom mock class. There are some build warnings output using autodoc mock: TypeError: unsupported operand type(s) for |: '_MockObject' and '_MockObject' Will resolve these later as the build passes.
Diffstat (limited to 'docs/source/conf.py')
-rw-r--r--docs/source/conf.py6
1 files changed, 0 insertions, 6 deletions
diff --git a/docs/source/conf.py b/docs/source/conf.py
index 7c57e058e..30a58504a 100644
--- a/docs/source/conf.py
+++ b/docs/source/conf.py
@@ -95,12 +95,6 @@ autodoc_mock_imports = [
'PIL',
'libtorrent',
'psyco',
- 'pygtk',
- 'gtk',
- 'gobject',
- 'pango',
- 'cairo',
- 'pangocairo',
'gi',
'curses',
'win32api',