Skip to content

Instantly share code, notes, and snippets.

@MaxGhenis
Created July 9, 2020 15:29
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save MaxGhenis/20e29aed56e9df87f3115031bb03dde6 to your computer and use it in GitHub Desktop.
Save MaxGhenis/20e29aed56e9df87f3115031bb03dde6 to your computer and use it in GitHub Desktop.
Error message when trying to build a Jupyter-book with ```- url: https://ubicenter.org \n title: UBI Center home``` (see https://github.com/executablebooks/jupyter-book/issues/764)
# Sphinx version: 2.4.4
# Python version: 3.7.7 (CPython)
# Docutils version: 0.16 release
# Jinja2 version: 2.11.2
# Last messages:
# Loaded extensions:
Traceback (most recent call last):
File "/home/mghenis/anaconda3/lib/python3.7/site-packages/jupyter_book/sphinx.py", line 209, in build_sphinx
keep_going=keep_going,
File "/home/mghenis/anaconda3/lib/python3.7/site-packages/sphinx/application.py", line 269, in __init__
self.events.emit('config-inited', self.config)
File "/home/mghenis/anaconda3/lib/python3.7/site-packages/sphinx/events.py", line 99, in emit
results.append(callback(self.app, *args))
File "/home/mghenis/anaconda3/lib/python3.7/site-packages/jupyter_book/toc.py", line 192, in update_indexname
app.config["master_doc"] = _no_suffix(toc["file"])
KeyError: 'file'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment