From 1ee3414d38e2ce77e7c5985ea87e4341c934bbce Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Juan=20Jos=C3=A9=20G=C3=B3mez=20Romera?= Date: Sun, 1 Oct 2023 14:00:12 +0200 Subject: [PATCH] Revert upgrade config for ReadtheDocs #19 --- __init__.py | 2 ++ docs/conf.py | 6 ------ 2 files changed, 2 insertions(+), 6 deletions(-) diff --git a/__init__.py b/__init__.py index 812cb82d..7cbf02a1 100644 --- a/__init__.py +++ b/__init__.py @@ -16,3 +16,5 @@ You should have received a copy of the GNU General Public License along with this program. If not, see .""" + +__all__ = ["lib", "plots", "tools", "UI", "equipment"] diff --git a/docs/conf.py b/docs/conf.py index 15c11319..bec00517 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -43,12 +43,7 @@ # add these directories to sys.path here. If the directory is relative to the # documentation root, use os.path.abspath to make it absolute, like shown here. -sys.path.insert(0, os.path.abspath('../..')) sys.path.insert(0, os.path.abspath('..')) -sys.path.insert(0, os.path.abspath('.')) -print(sys.path) -import glob -print(glob.glob("../*/")) autodoc_mock_imports = ['sip', 'PyQt6', 'PyQt6.QtGui', 'PyQt6.QtCore', 'PyQt6.QtWidgets'] @@ -128,7 +123,6 @@ firstrun.createDatabase(conf_dir + "databank.db") -from equipment import * # -- General configuration ------------------------------------------------