Skip to content

Commit 984b376

Browse files
Sphinx 7, 8 compat
1 parent fe05a1d commit 984b376

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

jupyterlite_sphinx/jupyterlite_sphinx.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -609,7 +609,7 @@ def run(self):
609609

610610

611611
def _process_docstring_examples(app: Sphinx, docname: str, source: List[str]) -> None:
612-
source_path: str = app.env.doc2path(docname)
612+
source_path: os.PathLike = Path(app.env.doc2path(docname))
613613
if source_path.suffix == ".py":
614614
source[0] = insert_try_examples_directive(source[0])
615615

0 commit comments

Comments
 (0)