Skip to content

Instantly share code, notes, and snippets.

@bak1an
Created February 10, 2014 14:06
Show Gist options
  • Save bak1an/8916531 to your computer and use it in GitHub Desktop.
Save bak1an/8916531 to your computer and use it in GitHub Desktop.
docs build error
# Sphinx version: 1.2b1
# Python version: 2.7.5
# Docutils version: 0.10 release
# Jinja2 version: 2.7
Traceback (most recent call last):
File "/home/bak1an/.virtualenvs/django27/lib/python2.7/site-packages/sphinx/cmdline.py", line 247, in main
app.build(force_all, filenames)
File "/home/bak1an/.virtualenvs/django27/lib/python2.7/site-packages/sphinx/application.py", line 211, in build
self.builder.build_update()
File "/home/bak1an/.virtualenvs/django27/lib/python2.7/site-packages/sphinx/builders/__init__.py", line 211, in build_update
'out of date' % len(to_build))
File "/home/bak1an/.virtualenvs/django27/lib/python2.7/site-packages/sphinx/builders/__init__.py", line 267, in build
self.write(docnames, list(updated_docnames), method)
File "/home/bak1an/.virtualenvs/django27/lib/python2.7/site-packages/sphinx/builders/__init__.py", line 310, in write
self._write_serial(sorted(docnames), warnings)
File "/home/bak1an/.virtualenvs/django27/lib/python2.7/site-packages/sphinx/builders/__init__.py", line 323, in _write_serial
self.write_doc(docname, doctree)
File "/home/bak1an/.virtualenvs/django27/lib/python2.7/site-packages/sphinx/builders/html.py", line 437, in write_doc
ctx = self.get_doc_context(docname, body, metatags)
File "/home/bak1an/.virtualenvs/django27/lib/python2.7/site-packages/sphinx/builders/html.py", line 421, in get_doc_context
display_toc = (self.env.toc_num_entries[docname] > 1),
KeyError: u'topics/testing/doctests'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment