Skip to content

Commit 0e8a506

Browse files
committed
docs(conf): Update for src/ move
1 parent 1957f34 commit 0e8a506

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

docs/conf.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,13 +11,14 @@
1111
# Get the project root dir, which is the parent dir of this
1212
cwd = Path(__file__).parent
1313
project_root = cwd.parent
14+
project_src = project_root / "src"
1415

15-
sys.path.insert(0, str(project_root))
16+
sys.path.insert(0, str(project_src))
1617
sys.path.insert(0, str(cwd / "_ext"))
1718

1819
# package data
1920
about: Dict[str, str] = {}
20-
with open(project_root / "libtmux" / "__about__.py") as fp:
21+
with open(project_src / "libtmux" / "__about__.py") as fp:
2122
exec(fp.read(), about)
2223

2324
extensions = [

0 commit comments

Comments
 (0)