File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -272,7 +272,7 @@ def setup(app):
272
272
app .add_role ("jupyter-download:nb" , JupyterDownloadRole ())
273
273
app .add_role ("jupyter-download:script" , JupyterDownloadRole ())
274
274
app .add_transform (ExecuteJupyterCells )
275
- app .add_post_transform (CellOutputsToNodes )
275
+ app .add_transform (CellOutputsToNodes )
276
276
277
277
# For syntax highlighting
278
278
app .add_lexer ("ipythontb" , IPythonTracebackLexer )
Original file line number Diff line number Diff line change @@ -46,7 +46,7 @@ def doctree(
46
46
if config is not None :
47
47
conf_contents += "\n " + config
48
48
(src_dir / "conf.py" ).write_text (conf_contents , encoding = "utf8" )
49
- (src_dir / "contents .rst" ).write_text (source , encoding = "utf8" )
49
+ (src_dir / "index .rst" ).write_text (source , encoding = "utf8" )
50
50
51
51
warnings = StringIO ()
52
52
app = SphinxTestApp (
@@ -58,7 +58,7 @@ def doctree(
58
58
apps .append (app )
59
59
app .build ()
60
60
61
- doctree = app .env .get_and_resolve_doctree ("contents " , app .builder )
61
+ doctree = app .env .get_and_resolve_doctree ("index " , app .builder )
62
62
63
63
if return_warnings :
64
64
return doctree , warnings .getvalue ()
You can’t perform that action at this time.
0 commit comments