mirror of
https://github.com/sphinx-doc/sphinx.git
synced 2025-02-25 18:55:22 -06:00
Merge pull request #8670 from tk0miya/fix_highlight_lang
doc: Fix highlight language
This commit is contained in:
commit
b51c947c51
@ -157,7 +157,7 @@ inserting them into the page source under a suitable :rst:dir:`py:module`,
|
|||||||
``:meta private:`` in its :ref:`info-field-lists`.
|
``:meta private:`` in its :ref:`info-field-lists`.
|
||||||
For example:
|
For example:
|
||||||
|
|
||||||
.. code-block:: rst
|
.. code-block:: python
|
||||||
|
|
||||||
def my_function(my_arg, my_other_arg):
|
def my_function(my_arg, my_other_arg):
|
||||||
"""blah blah blah
|
"""blah blah blah
|
||||||
@ -172,7 +172,7 @@ inserting them into the page source under a suitable :rst:dir:`py:module`,
|
|||||||
an underscore.
|
an underscore.
|
||||||
For example:
|
For example:
|
||||||
|
|
||||||
.. code-block:: rst
|
.. code-block:: python
|
||||||
|
|
||||||
def _my_function(my_arg, my_other_arg):
|
def _my_function(my_arg, my_other_arg):
|
||||||
"""blah blah blah
|
"""blah blah blah
|
||||||
@ -186,7 +186,7 @@ inserting them into the page source under a suitable :rst:dir:`py:module`,
|
|||||||
docstring contains ``:meta hide-value:`` in its :ref:`info-field-lists`.
|
docstring contains ``:meta hide-value:`` in its :ref:`info-field-lists`.
|
||||||
Example:
|
Example:
|
||||||
|
|
||||||
.. code-block:: rst
|
.. code-block:: python
|
||||||
|
|
||||||
var1 = None #: :meta hide-value:
|
var1 = None #: :meta hide-value:
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user