diff options
| author | Georg Brandl <georg@python.org> | 2009-02-24 13:38:15 +0100 |
|---|---|---|
| committer | Georg Brandl <georg@python.org> | 2009-02-24 13:38:15 +0100 |
| commit | f8465010e73c3a2add6d9c7a668f0e24eea9cc8d (patch) | |
| tree | 737f4a288eaaf69898c3139fdb0c79499c4bf910 /tests/root/subdir | |
| parent | 830aa8ebd393e719c65aa2ef08c14da8e46f44e0 (diff) | |
| download | sphinx-f8465010e73c3a2add6d9c7a668f0e24eea9cc8d.tar.gz | |
Paths to literal include files and download files can now be absolute too.
Diffstat (limited to 'tests/root/subdir')
| -rw-r--r-- | tests/root/subdir/includes.txt | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/tests/root/subdir/includes.txt b/tests/root/subdir/includes.txt new file mode 100644 index 00000000..3e1ae0d1 --- /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. |
