Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
Co-authored-by: Jakob Lykke Andersen <jakobandersen@users.noreply.github.com>
  • Loading branch information
astrojuanlu and jakobandersen committed Nov 18, 2021
1 parent eceb6b8 commit 79f6d40
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions doc/tutorial/describing-code.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 79f6d40

Please sign in to comment.