File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -1180,7 +1180,8 @@ def get_all_documents(source: Path) -> list[Path]:
1180
1180
EXAMPLES::
1181
1181
1182
1182
sage: from sage_docbuild.builders import get_all_documents
1183
- sage: documents = get_all_documents(Path('src/doc'))
1183
+ sage: from sage.env import SAGE_DOC_SRC
1184
+ sage: documents = get_all_documents(Path(SAGE_DOC_SRC))
1184
1185
sage: Path('en/tutorial') in documents
1185
1186
True
1186
1187
"""
@@ -1213,7 +1214,8 @@ def get_all_reference_documents(source: Path) -> list[Path]:
1213
1214
EXAMPLES::
1214
1215
1215
1216
sage: from sage_docbuild.builders import get_all_reference_documents
1216
- sage: documents = get_all_reference_documents(Path('src/doc/en'))
1217
+ sage: from sage.env import SAGE_DOC_SRC
1218
+ sage: documents = get_all_reference_documents(Path(SAGE_DOC_SRC) / 'en')
1217
1219
sage: Path('reference/algebras') in documents
1218
1220
True
1219
1221
"""
You can’t perform that action at this time.
0 commit comments