diff options
author | Takeshi KOMIYA <i.tkomiya@gmail.com> | 2021-01-10 22:35:00 +0900 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-01-10 22:35:00 +0900 |
commit | b51c947c518fc96b9fe0a59e502e67ab5334e320 (patch) | |
tree | df2094d495dce03bd9bec993c79a4657cf22e3fd | |
parent | 7acafa991b1da7f7ce1d8c179b0bba3ddf4feab6 (diff) | |
parent | f433581b04d5e73c73972b5fe96808d1ef1b73c8 (diff) | |
download | sphinx-git-b51c947c518fc96b9fe0a59e502e67ab5334e320.tar.gz |
Merge pull request #8670 from tk0miya/fix_highlight_lang
doc: Fix highlight language
-rw-r--r-- | doc/usage/extensions/autodoc.rst | 6 |
1 files 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: |