diff options
author | Calum Lind <calumlind+deluge@gmail.com> | 2014-09-25 16:19:30 +0200 |
---|---|---|
committer | Calum Lind <calumlind+deluge@gmail.com> | 2014-09-25 16:20:15 +0200 |
commit | fedca3167d12aabccc13c5867bfa0c1c1db32907 (patch) | |
tree | 60ba6b30ba9fd78028c4238c9b049c50e462fa94 /docs | |
parent | Small fixes for Travis and isort (diff) | |
download | deluge-fedca3167d12aabccc13c5867bfa0c1c1db32907.tar.xz deluge-fedca3167d12aabccc13c5867bfa0c1c1db32907.zip |
[Docs] More fixes for testing with tox
Diffstat (limited to 'docs')
-rw-r--r-- | docs/source/conf.py | 13 |
1 files changed, 5 insertions, 8 deletions
diff --git a/docs/source/conf.py b/docs/source/conf.py index bf58b640e..28d064006 100644 --- a/docs/source/conf.py +++ b/docs/source/conf.py @@ -51,18 +51,15 @@ class Mock(object): else: return Mock() -MOCK_MODULES = ['deluge.ui.languages', 'deluge.ui.countries', 'deluge.ui.gtkui.gtkui', - 'psyco', 'rencode', 'win32file', 'win32event', +MOCK_MODULES = ['deluge.ui.languages', 'deluge.ui.countries', 'deluge.ui.gtkui.gtkui', 'deluge._libtorrent', + 'libtorrent', 'psyco', 'rencode', 'twisted.web', 'twisted.web.client', 'twisted.web.error', - 'win32gui', 'win32api', 'win32con', '_winreg'] - -if on_rtd or on_travis: - MOCK_MODULES += ['libtorrent', 'pygtk', "gtk", "gobject", "gtk.gdk", "pango", "cairo", "pangocairo"] + 'win32file', 'win32event', 'win32gui', 'win32api', 'win32con', '_winreg', + 'pygtk', "gtk", "gobject", "gtk.gdk", "pango", "cairo", "pangocairo"] for mod_name in MOCK_MODULES: sys.modules[mod_name] = Mock() - # General configuration # --------------------- @@ -110,7 +107,7 @@ today_fmt = '%B %d, %Y' # List of directories, relative to source directories, that shouldn't be searched # for source files. # exclude_dirs = [] -exclude_patterns = ['deluge/_libtorrent.py', 'deluge/__rpcapi.py'] +# exclude_patterns = [] # The reST default role (used for this markup: `text`) to use for all documents. # default_role = None |