We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Describe the bug
When changing _toc.yml to make an external URL the first item:
_toc.yml
I get this error:
Extension error: Handler <function add_toc_to_sphinx at 0x7f1d88fa7550> for event 'config-inited' threw an exception (exception: 'file') Traceback (most recent call last): File "/usr/share/miniconda/envs/childallowance/lib/python3.8/site-packages/sphinx/events.py", line 110, in emit results.append(listener.handler(self.app, *args)) File "/usr/share/miniconda/envs/childallowance/lib/python3.8/site-packages/jupyter_book/toc.py", line 192, in add_toc_to_sphinx app.config["master_doc"] = _posix_no_suffix(toc["file"]) KeyError: 'file'
Environment
jupyter-book --version
Additional context This wasn't an issue prior to 0.8.0, as the TOC didn't display the first item:
But in 0.8.0, that external link is no longer the topmost link, as I'd like:
The text was updated successfully, but these errors were encountered:
oops, missed this one - can you try setting
home_page_in_navbar : false
That should let you exclude the home page and thus have your first link an external site
Sorry, something went wrong.
Thanks that worked!
No branches or pull requests
Describe the bug
When changing
_toc.yml
to make an external URL the first item:I get this error:
Environment
jupyter-book --version
: 0.8.0Additional context
This wasn't an issue prior to 0.8.0, as the TOC didn't display the first item:
But in 0.8.0, that external link is no longer the topmost link, as I'd like:
The text was updated successfully, but these errors were encountered: