Remove unnecessary label

This commit is contained in:
Juan Luis Cano Rodríguez 2021-07-05 09:22:14 +02:00
parent 74e565f99b
commit 50bd1c3967
2 changed files with 1 additions and 3 deletions

View File

@ -346,7 +346,7 @@ As an example, create a new file ``docs/source/usage.rst`` (next to
(.venv) $ pip install lumache
This new file contains two :ref:`section <rst-sections>` headers, normal
paragraph text, and a :ref:`code-block <rst-code-block>` directive that renders
paragraph text, and a :rst:dir:`code-block` directive that renders
a block of content as source code, with appropriate syntax highlighting
(in this case, generic ``console`` text).

View File

@ -488,8 +488,6 @@ __ https://pygments.org/docs/lexers
.. versionadded:: 2.1
.. _rst-code-block:
.. rst:directive:: .. code-block:: [language]
Example::