Skip to content
New issue

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

Sphinx failed making Django docs #514

Closed
shimizukawa opened this issue Jan 2, 2015 · 2 comments
Closed

Sphinx failed making Django docs #514

shimizukawa opened this issue Jan 2, 2015 · 2 comments

Comments

@shimizukawa
Copy link
Member

I just installed Sphinx in Python 2.5.1 on Mac OS X 10.4.11 using 'easy_install -U Sphinx' and tried to use it to build html version of Django 1.2.1 docs. It raised an exception:

----------
~/Applications/Django-1.2.1/docs xxx$ make html
sphinx-build -b djangohtml -d _build/doctrees   . _build/html
Making output directory...
Running Sphinx v1.0.3
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/xxx/Applications/Django-1.2.1/docs/_ext/djangodocs.py:91: DeprecationWarning: xfileref_role is deprecated, use XRefRole
  xrefs = sphinx.roles.xfileref_role('ref', linktext, linktext, lineno, state)
reading sources... [ 39%] ref/contrib/gis/commands                              
Exception occurred:
  File "/Users/xxx/Applications/Django-1.2.1/docs/_ext/djangodocs.py", line 215, in parse_django_adminopt_node
    from sphinx.directives.desc import option_desc_re
ImportError: No module named desc
The full traceback has been saved in /tmp/sphinx-err-JN15dx.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 <https://bitbucket.org/birkenfeld/sphinx/issues/>. Thanks!
make: *** [html] Error 1
----------

"/tmp/sphinx-err-JN15dx.log" is attached.

@shimizukawa
Copy link
Member Author

From Georg Brandl on 2010-08-26 11:57:53+00:00

Depending on the Django version, you have to you Sphinx 0.6.x or 1.0.x to successfully build the documentation.

@shimizukawa
Copy link
Member Author

From Georg Brandl on 2014-10-18 07:30:09+00:00

Removing version: 1.0.3 (automated comment)

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Oct 3, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant