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

debug

parent c28e6a76
No related branches found
No related tags found
No related merge requests found
...@@ -235,7 +235,7 @@ def build( ...@@ -235,7 +235,7 @@ def build(
_error( _error(
"Couldn't find a Table of Contents file. " "Couldn't find a Table of Contents file. "
"To auto-generate one, run:" "To auto-generate one, run:"
f"\n\n\tjupyter-book toc create-toc {path_source}" f"\n\n\tjupyter-book toc from-site {path_source}"
) )
# we don't need to read the toc here, but do so to control the error message # we don't need to read the toc here, but do so to control the error message
...@@ -250,6 +250,7 @@ def build( ...@@ -250,6 +250,7 @@ def build(
# TODO could also check/warn if the format is not set to jb-article/jb-book? # 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()
print("external_toc_path", toc.as_posix())
# Builder-specific overrides # Builder-specific overrides
if builder == "pdfhtml": if builder == "pdfhtml":
......
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