繁体   English   中英

如何在Django Sphinx中创建.rSt文件?

[英]how to create .rSt files in 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 HTML使build.But后文件index.html文件没有副标题许可证和帮助。 我需要在源目录中手动创建license.rsthelp.rst吗? 它会在生成时自动生成吗?

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

您可以在Sphinx文档中阅读有关toctree的更多信息:

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM