Skip to content

Commit c17aebc

Browse files
author
Žiga Stupan
committed
fix docs config
1 parent b506137 commit c17aebc

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

docs/source/conf.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,10 @@
1212
# add these directories to sys.path here. If the directory is relative to the
1313
# documentation root, use os.path.abspath to make it absolute, like shown here.
1414
#
15-
import os
1615
import sys
17-
sys.path.insert(0, os.path.abspath('../../'))
16+
from pathlib import Path
17+
18+
sys.path.insert(0, str(Path('..', '..', 'src').resolve()))
1819

1920
# -- Project information -----------------------------------------------------
2021

0 commit comments

Comments
 (0)