diff --git a/docs/source/conf.py b/docs/source/conf.py index 7fba588..41c0839 100644 --- a/docs/source/conf.py +++ b/docs/source/conf.py @@ -8,8 +8,11 @@ import os import sys -folder = os.getcwd().split("\\docs")[0] -sys.path.append(folder) +#folder = os.getcwd().split("\\docs")[0] +#print(folder) +project_root = os.path.abspath(os.path.join(os.path.dirname(__file__), "..", "..")) +print(project_root) +sys.path.insert(0, project_root) project = 'sloyka'