We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 18f9ef4 + 5b08dac commit aa645e6Copy full SHA for aa645e6
doc/conf.py
@@ -16,8 +16,10 @@
16
import re
17
import subprocess
18
import sys
19
+import pathlib
20
-sys.path.insert(0, os.path.abspath("."))
21
+ROOT = pathlib.Path(__file__).absolute().parent.parent
22
+sys.path.insert(0, str(ROOT / "src"))
23
24
25
# -- Project information -----------------------------------------------------
requirements-dev.txt
@@ -14,7 +14,7 @@ pre-commit
14
python-dateutil
15
requests; implementation_name=="cpython"
setuptools>=68; implementation_name=="cpython"
-sphinx
+sphinx>=7,<8
sphinx-autodoc-typehints
sphinx-rtd-theme
twine; implementation_name=="cpython"
0 commit comments