Skip to content

Commit 9d9c754

Browse files
authored
fix docs config
1 parent e2c45fd commit 9d9c754

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/conf.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,10 @@
1010
# add these directories to sys.path here. If the directory is relative to the
1111
# documentation root, use os.path.abspath to make it absolute, like shown here.
1212
#
13-
import os
1413
import sys
14+
from pathlib import Path
1515

16-
sys.path.insert(0, os.path.abspath("../"))
16+
sys.path.insert(0, str(Path('..', 'src').resolve()))
1717

1818
# -- Project information -----------------------------------------------------
1919

0 commit comments

Comments
 (0)