我在windows机器上安装了Python和Sphinx。我从here开始学习本教程,有几件事我不清楚:
下面的文字是来自教程的一个参考,对我来说没有意义,我猜测这就是为什么我不能创建PDF文件。在
Again in the conf.py file, add the below content at the end. Change the pdf_documents parameter according your project (index filename, pdf file name, document title on first page, and the author name)
基本上,我从github下载了rst2pdf库,并将其提取到下载文件夹中,然后从那里执行:
C:\Users\Luyando.Siko\Downloads\rst2pdf-master\rst2pdf-master>python setup.py install
我遇到了很多问题,不知道该不该担心。这是正确的方式让rst2pdf安装到我的斯芬克斯开始吗?有人能给我解释一下作者在这篇文章中的意思吗。在
提前谢谢
基本上,这意味着你复制了大量的PDF选项(从以下开始:
# Options for PDF output - etc.
)放入conf.py
文件的底部。在然后,您可以修改这些配置设置以适合您的项目。以他们的例子:
从},作者为
index.rst
开始,然后将其转换为EMSDocumentation.pdf
,名为{Thyag Sundaramoorthy
。在相关问题 更多 >
编程相关推荐