Update autodoc_mock_imports and apidoc_excluded_paths in docs/conf.py
This commit is contained in:
parent
c0f5e1b1a2
commit
57ca3b1cf0
15
docs/conf.py
15
docs/conf.py
|
@ -201,8 +201,9 @@ epub_exclude_files = ['search.html']
|
||||||
autodoc_mock_imports = [
|
autodoc_mock_imports = [
|
||||||
'debug',
|
'debug',
|
||||||
'pybitmessage.bitmessagekivy',
|
'pybitmessage.bitmessagekivy',
|
||||||
'pybitmessage.bitmessageqt.addressvalidator',
|
'pybitmessage.bitmessageqt.foldertree',
|
||||||
'pybitmessage.helper_startup',
|
'pybitmessage.helper_startup',
|
||||||
|
'pybitmessage.mock',
|
||||||
'pybitmessage.network.httpd',
|
'pybitmessage.network.httpd',
|
||||||
'pybitmessage.network.https',
|
'pybitmessage.network.https',
|
||||||
'ctypes',
|
'ctypes',
|
||||||
|
@ -216,9 +217,10 @@ autodoc_mock_imports = [
|
||||||
'pycanberra',
|
'pycanberra',
|
||||||
'pyopencl',
|
'pyopencl',
|
||||||
'PyQt4',
|
'PyQt4',
|
||||||
'pyxdg',
|
'PyQt5',
|
||||||
'qrcode',
|
'qrcode',
|
||||||
'stem',
|
'stem',
|
||||||
|
'xdg',
|
||||||
]
|
]
|
||||||
autodoc_member_order = 'bysource'
|
autodoc_member_order = 'bysource'
|
||||||
|
|
||||||
|
@ -227,10 +229,11 @@ apidoc_module_dir = '../pybitmessage'
|
||||||
apidoc_output_dir = 'autodoc'
|
apidoc_output_dir = 'autodoc'
|
||||||
apidoc_excluded_paths = [
|
apidoc_excluded_paths = [
|
||||||
'bitmessagekivy', 'build_osx.py',
|
'bitmessagekivy', 'build_osx.py',
|
||||||
'bitmessageqt/addressvalidator.py', 'bitmessageqt/migrationwizard.py',
|
'bitmessageqt/addressvalidator.py', 'bitmessageqt/foldertree.py',
|
||||||
'bitmessageqt/newaddresswizard.py', 'helper_startup.py',
|
'bitmessageqt/migrationwizard.py', 'bitmessageqt/newaddresswizard.py',
|
||||||
'kivymd', 'main.py', 'navigationdrawer', 'network/http*',
|
'helper_startup.py',
|
||||||
'pybitmessage', 'tests', 'version.py'
|
'kivymd', 'mock', 'main.py', 'navigationdrawer', 'network/http*',
|
||||||
|
'src', 'tests', 'version.py'
|
||||||
]
|
]
|
||||||
apidoc_module_first = True
|
apidoc_module_first = True
|
||||||
apidoc_separate_modules = True
|
apidoc_separate_modules = True
|
||||||
|
|
Reference in New Issue
Block a user