mirror of
https://github.com/sphinx-doc/sphinx.git
synced 2025-02-25 18:55:22 -06:00
21 lines
414 B
ReStructuredText
21 lines
414 B
ReStructuredText
Literal Includes with Line Numbers Matching
|
|
===========================================
|
|
|
|
.. literalinclude:: literal.inc
|
|
:language: python
|
|
:pyobject: Bar
|
|
:lineno-match:
|
|
|
|
.. literalinclude:: literal.inc
|
|
:language: python
|
|
:lines: 5-6,7,8-9
|
|
:lineno-match:
|
|
|
|
.. literalinclude:: literal.inc
|
|
:language: python
|
|
:start-after: pass
|
|
:lineno-match:
|
|
|
|
.. literalinclude:: empty.inc
|
|
:lineno-match:
|