Opened 15 years ago
Last modified 14 years ago
#13616 closed
Sphinx error when building docs using Sphinx 1.0b1 — at Version 1
Reported by: | Harro | Owned by: | nobody |
---|---|---|---|
Component: | Documentation | Version: | dev |
Severity: | Keywords: | ||
Cc: | prigun@… | Triage Stage: | Accepted |
Has patch: | yes | Needs documentation: | no |
Needs tests: | no | Patch needs improvement: | no |
Easy pickings: | no | UI/UX: | no |
Description (last modified by )
When using the development version of Sphinx the docs no longer build.
$ make html sphinx-build -b djangohtml -d _build/doctrees . _build/html Running Sphinx v1.0b1 loading pickled environment... not yet created building [djangohtml]: targets for 187 source files that are out of date updating environment: 187 added, 0 changed, 0 removed /Users/hvdklauw/.virtualenvs/djangodev/src/django/docs/_ext/djangodocs.py:91: DeprecationWarning: xfileref_role is deprecated, use XRefRole xrefs = sphinx.roles.xfileref_role('ref', linktext, linktext, lineno, state) Exception occurred: File "/Users/hvdklauw/.virtualenvs/djangodev/src/django/docs/_ext/djangodocs.py", line 103, in parse_version_directive env.note_versionchange(node['type'], node['version'], node, lineno) AttributeError: BuildEnvironment instance has no attribute 'note_versionchange' The full traceback has been saved in /var/folders/+f/+fg+tkaAEP4s9WIWJaIwc++++TI/-Tmp-/sphinx-err-EcMj2N.log, if you want to report the issue to the developers. Please also report this if it was a user error, so that a better error message can be provided next time. Either send bugs to the mailing list at <http://groups.google.com/group/sphinx-dev/>, or report them in the tracker at <http://bitbucket.org/birkenfeld/sphinx/issues/>. Thanks! make: *** [html] Error 1
Change History (2)
comment:1 by , 15 years ago
Description: | modified (diff) |
---|---|
Triage Stage: | Unreviewed → Accepted |
by , 15 years ago
Attachment: | 13616_1.diff added |
---|
Allows to build docs with new Sphinx. It is better to use Sphinx==dev, because Sphinx==1.0b1 throws unicode exception at the end
Note:
See TracTickets
for help on using tickets.
Cleaned up the formatting, please use preview in the future.