Skip to content

Commit aa645e6

Browse files
authored
Merge pull request #116 from jepler/sphinx-doc-8-deps
welcome to doc dependency hell
2 parents 18f9ef4 + 5b08dac commit aa645e6

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

doc/conf.py

+3-1
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,10 @@
1616
import re
1717
import subprocess
1818
import sys
19+
import pathlib
1920

20-
sys.path.insert(0, os.path.abspath("."))
21+
ROOT = pathlib.Path(__file__).absolute().parent.parent
22+
sys.path.insert(0, str(ROOT / "src"))
2123

2224

2325
# -- Project information -----------------------------------------------------

requirements-dev.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ pre-commit
1414
python-dateutil
1515
requests; implementation_name=="cpython"
1616
setuptools>=68; implementation_name=="cpython"
17-
sphinx
17+
sphinx>=7,<8
1818
sphinx-autodoc-typehints
1919
sphinx-rtd-theme
2020
twine; implementation_name=="cpython"

0 commit comments

Comments
 (0)