[英]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.rst
和help.rst
嗎? 它會在生成時自動生成嗎?
是的,您需要同時創建license.rst
和help.rst
。
您可以在Sphinx文檔中閱讀有關toctree的更多信息:
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.