summaryrefslogtreecommitdiff
path: root/doc/tutorial
diff options
context:
space:
mode:
authorJuan Luis Cano Rodríguez <juanlu@readthedocs.org>2021-11-18 23:04:30 +0100
committerGitHub <noreply@github.com>2021-11-18 23:04:30 +0100
commit79f6d404135389b0e7a74675daf480dc890ae6a2 (patch)
tree5f077cf037f8356db7be3283d4ed6574ee7943c5 /doc/tutorial
parenteceb6b8f4b26e20246662ce916dc4143376b664d (diff)
downloadsphinx-git-79f6d404135389b0e7a74675daf480dc890ae6a2.tar.gz
Apply suggestions from code review
Co-authored-by: Jakob Lykke Andersen <jakobandersen@users.noreply.github.com>
Diffstat (limited to 'doc/tutorial')
-rw-r--r--doc/tutorial/describing-code.rst10
1 files changed, 6 insertions, 4 deletions
diff --git a/doc/tutorial/describing-code.rst b/doc/tutorial/describing-code.rst
index bf8ab1c1f..0b88f5bd9 100644
--- a/doc/tutorial/describing-code.rst
+++ b/doc/tutorial/describing-code.rst
@@ -240,11 +240,13 @@ Documenting and cross-referencing objects
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Sphinx also supports documenting and cross-referencing objects written in
-other programming languages. There are four extra built-in domains:
-C, C++, JavaScript, and reStructuredText, and third party extensions may
+other programming languages. There are four additional built-in domains:
+C, C++, JavaScript, and reStructuredText. Third-party extensions may
define domains for more languages, such as
-`Fortran <https://sphinx-fortran.readthedocs.io>`_
-or `Julia <http://bastikr.github.io/sphinx-julia>`_.
+
+- `Fortran <https://sphinx-fortran.readthedocs.io>`_,
+- `Julia <http://bastikr.github.io/sphinx-julia>`_, or
+- `PHP <https://github.com/markstory/sphinxcontrib-phpdomain>`_.
For example, to document a C++ type definition, you would use the built-in
:rst:dir:`cpp:type` directive, as follows: