mirror of
https://github.com/readthedocs/sphinx_rtd_theme.git
synced 2025-02-25 18:55:21 -06:00
Add a caption to the literalinclude
This is added for testing cases like https://github.com/rtfd/sphinx_rtd_theme/issues/292
This commit is contained in:
parent
86bafcac74
commit
8df9434a3e
@ -143,6 +143,7 @@ Code with Sidebar
|
|||||||
|
|
||||||
.. literalinclude:: test_py_module/test.py
|
.. literalinclude:: test_py_module/test.py
|
||||||
:language: python
|
:language: python
|
||||||
|
:caption: Literal includes can also have captions.
|
||||||
:linenos:
|
:linenos:
|
||||||
:lines: 1-40
|
:lines: 1-40
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user