我使用sphynx从静态.rst文件生成文档(不提取文档字符串)。>>
我的存储库中有两个文件:
index.rst
.. toctree:: intro
和intro.rst
Will be skipped =============== Where is my parent section? --------------------------- Second section ==============
下面是通过运行
sphinx-build -b latex . _build; cd _build; pdflatex *
获得的pdf的屏幕截图:
吃惊或什么?
我使用sphynx从静态.rst文件生成文档(不提取文档字符串)。我的存储库中有两个文件:index.rst .. toctree :: intro和intro.rst将被跳过========= ...
感谢您提供工作示例。我可以在Windows上使用Sphinx 1.2.3重现您的观察结果。据我所知,HTML输出按预期工作。使用LaTeX构建器,将生成以下文档结构:
如果我使用texlive
(单独的源目录和构建目录)创建一个新的Sphinx项目,请使用Ubuntu 14.04和sphinx-quickstart
,将示例文件拖放到source
目录中并使用: