Skip to content

Commit fc9c0b0

Browse files
authored
fix doctest errors
1 parent c66f4b7 commit fc9c0b0

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

src/sage_docbuild/builders.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1155,8 +1155,9 @@ def get_all_documents(source: Path) -> list[Path]:
11551155
11561156
EXAMPLES::
11571157
1158+
sage: from pathlib import Path
11581159
sage: from sage_docbuild.builders import get_all_documents
1159-
sage: documents = get_all_documents(Path('src/doc'))
1160+
sage: documents = get_all_documents(Path('sage/src/doc'))
11601161
sage: Path('en/tutorial') in documents
11611162
True
11621163
"""
@@ -1188,8 +1189,9 @@ def get_all_reference_documents(source: Path) -> list[Path]:
11881189
11891190
EXAMPLES::
11901191
1192+
sage: from pathlib import Path
11911193
sage: from sage_docbuild.builders import get_all_reference_documents
1192-
sage: documents = get_all_reference_documents(Path('src/doc/en'))
1194+
sage: documents = get_all_reference_documents(Path('sage/src/doc/en'))
11931195
sage: Path('reference/algebras') in documents
11941196
True
11951197
"""

0 commit comments

Comments
 (0)