Skip to content

Commit d04d873

Browse files
committed
docs(conf): Update for doctest path
1 parent f539cf1 commit d04d873

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
@@ -8,15 +8,15 @@
88
import tmuxp
99

1010
# Get the project root dir, which is the parent dir of this
11-
cwd = Path.cwd()
11+
cwd = Path(__file__).parent
1212
project_root = cwd.parent
1313

1414
sys.path.insert(0, str(project_root))
1515
sys.path.insert(0, str(cwd / "_ext"))
1616

1717
# package data
1818
about = {}
19-
with open("../tmuxp/__about__.py") as fp:
19+
with open(project_root / "tmuxp" / "__about__.py") as fp:
2020
exec(fp.read(), about)
2121

2222
extensions = [

0 commit comments

Comments
 (0)