Avoid reference to earlier content

This commit is contained in:
Juan Luis Cano Rodríguez 2021-06-21 07:30:02 +02:00
parent e75f31ad47
commit d08c3677d1

View File

@ -318,10 +318,11 @@ Narrative documentation in Sphinx
Inserting documents in the project hierarchy
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
As discussed at the beginning, ``index.rst`` is the :term:`master document`,
whose main function is to serve as a welcome page and to contain the root of
the "table of contents tree" (or *toctree*). Sphinx allows you to assemble
a project from different files, which is helpful when the project grows.
The file ``index.rst`` created by ``sphinx-quickstart`` is the :term:`master
document`, whose main function is to serve as a welcome page and to contain the
root of the "table of contents tree" (or *toctree*). Sphinx allows you to
assemble a project from different files, which is helpful when the project
grows.
As an example, create a new file ``docs/source/usage.rst`` (next to
``index.rst``) with these contents: