We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0661045 commit 2fde0ffCopy full SHA for 2fde0ff
tests/test_execute.py
@@ -46,7 +46,7 @@ def doctree(
46
if config is not None:
47
conf_contents += "\n" + config
48
(src_dir / "conf.py").write_text(conf_contents, encoding = "utf8")
49
- (src_dir / "contents.rst").write_text(source, encoding = "utf8")
+ (src_dir / "index.rst").write_text(source, encoding = "utf8")
50
51
warnings = StringIO()
52
app = SphinxTestApp(
@@ -58,7 +58,7 @@ def doctree(
58
apps.append(app)
59
app.build()
60
61
- doctree = app.env.get_and_resolve_doctree("contents", app.builder)
+ doctree = app.env.get_and_resolve_doctree("index", app.builder)
62
63
if return_warnings:
64
return doctree, warnings.getvalue()
0 commit comments