Skip to content

Commit bedf368

Browse files
committed
Update autodoc_mock_imports in the docs/conf.py
1 parent ebdcc36 commit bedf368

File tree

1 file changed

+7
-4
lines changed

1 file changed

+7
-4
lines changed

docs/conf.py

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
author = u'The Bitmessage Team'
2424

2525
# The short X.Y version
26-
version = unicode(version.softwareVersion)
26+
version = version.softwareVersion
2727

2828
# The full version, including alpha/beta/rc tags
2929
release = version
@@ -46,7 +46,7 @@
4646
'sphinx.ext.napoleon',
4747
'sphinx.ext.todo',
4848
'sphinxcontrib.apidoc',
49-
'm2r',
49+
'm2r2',
5050
]
5151

5252
default_role = 'obj'
@@ -199,13 +199,16 @@
199199
# -- Extension configuration -------------------------------------------------
200200

201201
autodoc_mock_imports = [
202-
'debug',
203202
'pybitmessage.bitmessagekivy',
204203
'pybitmessage.bitmessageqt.foldertree',
204+
'pybitmessage.bitmessageqt.tests',
205+
'pybitmessage.debug',
206+
'pybitmessage.fallback.umsgpack',
205207
'pybitmessage.helper_startup',
206208
'pybitmessage.mock',
207209
'pybitmessage.network.httpd',
208210
'pybitmessage.network.https',
211+
'pybitmessage.pyelliptic.tests',
209212
'ctypes',
210213
'dialog',
211214
'gi',
@@ -268,7 +271,7 @@ def linkcode_resolve(domain, info):
268271
# -- Options for intersphinx extension ---------------------------------------
269272

270273
# Example configuration for intersphinx: refer to the Python standard library.
271-
intersphinx_mapping = {'https://docs.python.org/2.7/': None}
274+
intersphinx_mapping = {'https://docs.python.org/3/': None}
272275

273276
# -- Options for todo extension ----------------------------------------------
274277

0 commit comments

Comments
 (0)