mirror of
https://github.com/sphinx-doc/sphinx.git
synced 2025-02-25 18:55:22 -06:00
Remove unnecessary label
This commit is contained in:
parent
74e565f99b
commit
50bd1c3967
@ -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).
|
||||
|
||||
|
@ -488,8 +488,6 @@ __ https://pygments.org/docs/lexers
|
||||
|
||||
.. versionadded:: 2.1
|
||||
|
||||
.. _rst-code-block:
|
||||
|
||||
.. rst:directive:: .. code-block:: [language]
|
||||
|
||||
Example::
|
||||
|
Loading…
Reference in New Issue
Block a user