diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-09-19 04:57:09 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-09-19 04:57:09 +0000 |
commit | 2722609ed8cf1f24bb6a8b8a5ad9d7ac6dec58c3 (patch) | |
tree | e0f8becff83e01bc4228b1824e81a6a355d6e439 /doc/tutorial | |
parent | Releasing progress-linux version 7.3.7-3~progress7.99u1. (diff) | |
download | sphinx-2722609ed8cf1f24bb6a8b8a5ad9d7ac6dec58c3.tar.xz sphinx-2722609ed8cf1f24bb6a8b8a5ad9d7ac6dec58c3.zip |
Merging upstream version 7.4.7.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'doc/tutorial')
-rw-r--r-- | doc/tutorial/automatic-doc-generation.rst | 2 | ||||
-rw-r--r-- | doc/tutorial/deploying.rst | 2 | ||||
-rw-r--r-- | doc/tutorial/describing-code.rst | 2 | ||||
-rw-r--r-- | doc/tutorial/index.rst | 5 | ||||
-rw-r--r-- | doc/tutorial/narrative-documentation.rst | 2 |
5 files changed, 6 insertions, 7 deletions
diff --git a/doc/tutorial/automatic-doc-generation.rst b/doc/tutorial/automatic-doc-generation.rst index 8d9c9c9..db880d0 100644 --- a/doc/tutorial/automatic-doc-generation.rst +++ b/doc/tutorial/automatic-doc-generation.rst @@ -142,7 +142,7 @@ contain two new pages: - ``api.html``, corresponding to ``docs/source/api.rst`` and containing a table with the objects you included in the ``autosummary`` directive (in this case, only one). -- ``generated/lumache.html``, corresponding to a newly created reST file +- ``generated/lumache.html``, corresponding to a newly created reStructuredText file ``generated/lumache.rst`` and containing a summary of members of the module, in this case one function and one exception. diff --git a/doc/tutorial/deploying.rst b/doc/tutorial/deploying.rst index 6b7913f..c269593 100644 --- a/doc/tutorial/deploying.rst +++ b/doc/tutorial/deploying.rst @@ -159,7 +159,7 @@ way of getting started is to follow :doc:`the RTD tutorial <readthedocs:tutorial/index>`, which is loosely based on this one. You can publish your sources on GitHub as explained :ref:`in the previous section <publishing-sources>`, then skip directly to -:ref:`readthedocs:tutorial/index:Sign up for Read the Docs`. +:ref:`readthedocs:tutorial/index:Creating a Read the Docs account`. If you choose GitLab instead, the process is similar. GitHub Pages diff --git a/doc/tutorial/describing-code.rst b/doc/tutorial/describing-code.rst index 16feb2a..e8c6a80 100644 --- a/doc/tutorial/describing-code.rst +++ b/doc/tutorial/describing-code.rst @@ -75,7 +75,7 @@ Cross-referencing Python objects By default, most of these directives generate entities that can be cross-referenced from any part of the documentation by using -:ref:`a corresponding role <python-roles>`. For the case of functions, +:ref:`a corresponding role <python-xref-roles>`. For the case of functions, you can use :rst:role:`py:func` for that, as follows: .. code-block:: rst diff --git a/doc/tutorial/index.rst b/doc/tutorial/index.rst index d7f4861..54f4c72 100644 --- a/doc/tutorial/index.rst +++ b/doc/tutorial/index.rst @@ -1,8 +1,7 @@ .. _tutorial: -================================== -Tutorial: Build your first project -================================== +Build your first project +======================== In this tutorial you will build a simple documentation project using Sphinx, and view it in your browser as HTML. The project will include narrative, diff --git a/doc/tutorial/narrative-documentation.rst b/doc/tutorial/narrative-documentation.rst index a81204d..0c41392 100644 --- a/doc/tutorial/narrative-documentation.rst +++ b/doc/tutorial/narrative-documentation.rst @@ -85,7 +85,7 @@ introduction paragraph in ``index.rst``: Check out the :doc:`usage` section for further information. -The :rst:role:`doc` :ref:`role <rst-roles-alt>` you used automatically +The :rst:role:`doc` :ref:`role <rst-roles>` you used automatically references a specific document in the project, in this case the ``usage.rst`` you created earlier. |