簡體   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