added test .rst files

This commit is contained in:
Jeppe Pihl 2014-10-04 17:49:37 +02:00
parent 22c8382880
commit dc3d0b6ca1
3 changed files with 29 additions and 0 deletions

View File

@ -0,0 +1,17 @@
Literal Includes with Line Numbers Matching
===========================================
.. literalinclude:: literal.inc
:language: python
:pyobject: Bar
:lineno-match:
.. literalinclude:: literal.inc
:language: python
:lines: 6,7,8-9
:lineno-match:
.. literalinclude:: literal.inc
:language: python
:start-after: pass
:lineno-match:

View File

@ -0,0 +1,6 @@
Literal Includes with Line Numbers Starting from 200
====================================================
.. literalinclude:: literal.inc
:language: python
:lineno-start: 200

View File

@ -0,0 +1,6 @@
Literal Includes with Line Numbers
==================================
.. literalinclude:: literal.inc
:language: python
:linenos: