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:
Aaron Carlisle 2017-03-06 22:52:51 -05:00
parent 86bafcac74
commit 8df9434a3e

View File

@ -143,6 +143,7 @@ Code with Sidebar
.. literalinclude:: test_py_module/test.py
:language: python
:caption: Literal includes can also have captions.
:linenos:
:lines: 1-40