PAPEROPT_a4="-D latex_paper_size=a4" PAPEROPT_letter="-D latex_paper_size=letter" PAPER="letter" ./sbuild sphinx-build -D version=5.1.2 -D> Making output directory...
Running Sphinx v0.6.6
Exception occurred:
File "/data/trafficserver/trafficserver-5.1.2/doc/conf.py", line 316, in
from sphinx.writers import manpage
ImportError: cannot import name manpage
The full traceback has been saved in /tmp/sphinx-err-uilDJT.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 ,
or report them in the tracker at . Thanks!
解决办法 yum remove python-sphinx 不使用sphinx 生成文档