Skip to content

Commit

Permalink
:caption: doesn't work on .. code::
Browse files Browse the repository at this point in the history
  • Loading branch information
AA-Turner authored Jul 24, 2023
1 parent 45bcdf8 commit 734f588
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions doc/usage/advanced/intl.rst
Original file line number Diff line number Diff line change
Expand Up @@ -357,7 +357,7 @@ The following example shows a minimal Sphinx extension that covers 3 different u
* Use a custom substitution to show the translated percentage of the page


.. code:: python
.. code-block:: python
:caption: translated.py
import docutils
Expand Down Expand Up @@ -442,7 +442,7 @@ The following example shows a minimal Sphinx extension that covers 3 different u
The ``.css`` added looks like the following:

.. code:: css
.. code-block:: css
:caption: _static/translated.css
.translated {
Expand Down

0 comments on commit 734f588

Please sign in to comment.