如何在django sphinx中创建.rSt文件?

时间:2016-05-09 09:57:03

标签: python django django-sphinx

.. Documentation_hexnode documentation master file, created by
   sphinx-quickstart on Mon May 09 14:24:54 2016.
   You can adapt this file completely to your liking, but it should at least
   contain the root `toctree` directive.


Frequently Asked Questions
=================================================

Contents:

.. toctree::
   :maxdepth: 2
    license
    help

Indices and tables
==================

* :ref:`genindex`
* :ref:`modindex`
* :ref:`search`

这是我创建此文件后的index.rst文件我运行make make来生成build.But index.html文件没有副标题许可和帮助。我是否需要在源目录中手动创建license.rsthelp.rst?它是否在构建时自动生成?

1 个答案:

答案 0 :(得分:0)

是的,您需要同时创建license.rsthelp.rst

您可以在Sphinx documentation中了解有关toctree的更多信息: