We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b506137 commit c17aebcCopy full SHA for c17aebc
docs/source/conf.py
@@ -12,9 +12,10 @@
12
# add these directories to sys.path here. If the directory is relative to the
13
# documentation root, use os.path.abspath to make it absolute, like shown here.
14
#
15
-import os
16
import sys
17
-sys.path.insert(0, os.path.abspath('../../'))
+from pathlib import Path
+
18
+sys.path.insert(0, str(Path('..', '..', 'src').resolve()))
19
20
# -- Project information -----------------------------------------------------
21
0 commit comments