From f433581b04d5e73c73972b5fe96808d1ef1b73c8 Mon Sep 17 00:00:00 2001 From: Takeshi KOMIYA Date: Sun, 10 Jan 2021 22:22:30 +0900 Subject: [PATCH] doc: Fix highlight language --- doc/usage/extensions/autodoc.rst | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/doc/usage/extensions/autodoc.rst b/doc/usage/extensions/autodoc.rst index cb7296f1c..5222592ab 100644 --- a/doc/usage/extensions/autodoc.rst +++ b/doc/usage/extensions/autodoc.rst @@ -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`. For example: - .. code-block:: rst + .. code-block:: python def my_function(my_arg, my_other_arg): """blah blah blah @@ -172,7 +172,7 @@ inserting them into the page source under a suitable :rst:dir:`py:module`, an underscore. For example: - .. code-block:: rst + .. code-block:: python def _my_function(my_arg, my_other_arg): """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`. Example: - .. code-block:: rst + .. code-block:: python var1 = None #: :meta hide-value: