mirror of
https://github.com/sphinx-doc/sphinx.git
synced 2025-02-25 18:55:22 -06:00
Highlight only function docstring
Co-authored-by: Manuel Kaufmann <humitos@gmail.com>
This commit is contained in:
committed by
GitHub
parent
5daf336943
commit
91a605c6f1
@@ -33,7 +33,7 @@ as follows:
|
|||||||
|
|
||||||
.. code-block:: python
|
.. code-block:: python
|
||||||
:caption: lumache.py
|
:caption: lumache.py
|
||||||
:emphasize-lines: 1-9
|
:emphasize-lines: 2-11
|
||||||
|
|
||||||
def get_random_ingredients(kind=None):
|
def get_random_ingredients(kind=None):
|
||||||
"""
|
"""
|
||||||
|
|||||||
Reference in New Issue
Block a user