使用 Sphinx 0.6.5 创建。
我知道 Python 的文档使用reStructuredText
,但它有不同的部分,例如http://docs.python.org/whatsnew/2.6.html
和http://docs.python.org/tutorial/index.html
。
你如何在 reStructuredText 中做到这一点?您是否rst2html
在一堆目录中运行并保持其结构?
我知道它使用 Sphinx(不是Thomas Wouters 在回答中直接说的 rst2html ),但是您应该如何在存储库中使用源代码文件组织您的第一个结构,以便拥有一个完整的自动化文档网站?