From 57ca3b1cf0453b8b1fb328424e9f95e12444145e Mon Sep 17 00:00:00 2001 From: Dmitri Bogomolov <4glitch@gmail.com> Date: Sat, 20 Nov 2021 19:07:33 +0200 Subject: [PATCH] Update autodoc_mock_imports and apidoc_excluded_paths in docs/conf.py --- docs/conf.py | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) diff --git a/docs/conf.py b/docs/conf.py index 3464e056..e3eef6b3 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -201,8 +201,9 @@ epub_exclude_files = ['search.html'] autodoc_mock_imports = [ 'debug', 'pybitmessage.bitmessagekivy', - 'pybitmessage.bitmessageqt.addressvalidator', + 'pybitmessage.bitmessageqt.foldertree', 'pybitmessage.helper_startup', + 'pybitmessage.mock', 'pybitmessage.network.httpd', 'pybitmessage.network.https', 'ctypes', @@ -216,9 +217,10 @@ autodoc_mock_imports = [ 'pycanberra', 'pyopencl', 'PyQt4', - 'pyxdg', + 'PyQt5', 'qrcode', 'stem', + 'xdg', ] autodoc_member_order = 'bysource' @@ -227,10 +229,11 @@ apidoc_module_dir = '../pybitmessage' apidoc_output_dir = 'autodoc' apidoc_excluded_paths = [ 'bitmessagekivy', 'build_osx.py', - 'bitmessageqt/addressvalidator.py', 'bitmessageqt/migrationwizard.py', - 'bitmessageqt/newaddresswizard.py', 'helper_startup.py', - 'kivymd', 'main.py', 'navigationdrawer', 'network/http*', - 'pybitmessage', 'tests', 'version.py' + 'bitmessageqt/addressvalidator.py', 'bitmessageqt/foldertree.py', + 'bitmessageqt/migrationwizard.py', 'bitmessageqt/newaddresswizard.py', + 'helper_startup.py', + 'kivymd', 'mock', 'main.py', 'navigationdrawer', 'network/http*', + 'src', 'tests', 'version.py' ] apidoc_module_first = True apidoc_separate_modules = True