diff options
Diffstat (limited to 'tests/root')
-rw-r--r-- | tests/root/contents.txt | 1 | ||||
-rw-r--r-- | tests/root/special/code.py | 2 | ||||
-rw-r--r-- | tests/root/subdir/includes.txt | 12 |
3 files changed, 15 insertions, 0 deletions
diff --git a/tests/root/contents.txt b/tests/root/contents.txt index 719034ce2..0e52593e2 100644 --- a/tests/root/contents.txt +++ b/tests/root/contents.txt @@ -13,6 +13,7 @@ Contents: images subdir/images + subdir/includes includes markup desc diff --git a/tests/root/special/code.py b/tests/root/special/code.py new file mode 100644 index 000000000..70c48d2e7 --- /dev/null +++ b/tests/root/special/code.py @@ -0,0 +1,2 @@ +print "line 1" +print "line 2" diff --git a/tests/root/subdir/includes.txt b/tests/root/subdir/includes.txt new file mode 100644 index 000000000..3e1ae0d13 --- /dev/null +++ b/tests/root/subdir/includes.txt @@ -0,0 +1,12 @@ +Including in subdir +=================== + +.. absolute filename +.. literalinclude:: /special/code.py + :lines: 1 + +.. relative filename +.. literalinclude:: ../special/code.py + :lines: 2 + +Absolute :download:`/img.png` download. |