Skip to content
Snippets Groups Projects
Commit c28e6a76 authored by Chris Sewell's avatar Chris Sewell
Browse files

add test debug

parent e265670e
No related branches found
No related tags found
No related merge requests found
...@@ -247,6 +247,7 @@ def build( ...@@ -247,6 +247,7 @@ def build(
"You may need to migrate from the old format, using:" "You may need to migrate from the old format, using:"
f"\n\n\tjupyter-book toc migrate {toc}" f"\n\n\tjupyter-book toc migrate {toc}"
) )
# TODO could also check/warn if the format is not set to jb-article/jb-book?
config_overrides["external_toc_path"] = toc.as_posix() config_overrides["external_toc_path"] = toc.as_posix()
......
...@@ -41,6 +41,7 @@ def test_build_from_template(temp_with_override, cli): ...@@ -41,6 +41,7 @@ def test_build_from_template(temp_with_override, cli):
# Create the book from the template # Create the book from the template
book = temp_with_override / "new_book" book = temp_with_override / "new_book"
_ = cli.invoke(commands.create, book.as_posix()) _ = cli.invoke(commands.create, book.as_posix())
print([p.name for p in book.glob("*")])
build_result = cli.invoke( build_result = cli.invoke(
commands.build, [book.as_posix(), "-n", "-W", "--keep-going"] commands.build, [book.as_posix(), "-n", "-W", "--keep-going"]
) )
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment