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]:
11801180 EXAMPLES::
11811181
11821182 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))
11841185 sage: Path('en/tutorial') in documents
11851186 True
11861187 """
@@ -1213,7 +1214,8 @@ def get_all_reference_documents(source: Path) -> list[Path]:
12131214 EXAMPLES::
12141215
12151216 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')
12171219 sage: Path('reference/algebras') in documents
12181220 True
12191221 """
You can’t perform that action at this time.
0 commit comments