Skip to content

Commit 57df1f2

Browse files
Docs: Fix RTD build (#4)
1 parent b03d9f0 commit 57df1f2

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

docs/source/conf.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@
1313
import shutil
1414
import tempfile
1515
from importlib import metadata
16+
from pathlib import Path
1617

1718
# -- Project information -----------------------------------------------------
1819

@@ -88,7 +89,7 @@
8889
}
8990

9091

91-
_README = "../README.md"
92+
_README = str(Path(__file__).parent.parent.parent / "README.md")
9293
_README_TMP = tempfile.NamedTemporaryFile() # pylint: disable=consider-using-with
9394
self_readme_copy_path = _README_TMP.name
9495

0 commit comments

Comments
 (0)