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 v1.5.2 make html报错 #524

Open
liwei-link opened this issue Jan 24, 2017 · 1 comment
Open

Sphinx v1.5.2 make html报错 #524

liwei-link opened this issue Jan 24, 2017 · 1 comment

Comments

@liwei-link
Copy link

[root@liwei-dev nginx-book-master]# make html
sphinx-build -b html -d build/doctrees source build/html
Running Sphinx v1.5.2
WARNING: sphinx.ext.pngmath has been deprecated. Please use sphinx.ext.imgmath instead.
number_ref loaded
number_label loaded

Exception occurred:
File "/root/nginx-book-master/exts/latex_fix.py", line 6, in setup
latex.LaTeXTranslator.default_elements["babel"] = '\usepackage[english]{babel}'
AttributeError: class LaTeXTranslator has no attribute 'default_elements'
The full traceback has been saved in /tmp/sphinx-err-rqgrwy.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.
A bug report can be filed in the tracker at https://github.com/sphinx-doc/sphinx/issues. Thanks!
make: *** [html] Error 1

@thonnyhu
Copy link

I have encounter the same problem . Have u solved this problem?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants