Sphinx v1.5.2 make html报错
[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
Source: taobao/nginx-book