summaryrefslogtreecommitdiff
path: root/tests/root/subdir
diff options
context:
space:
mode:
authorGeorg Brandl <georg@python.org>2009-02-24 13:38:15 +0100
committerGeorg Brandl <georg@python.org>2009-02-24 13:38:15 +0100
commitf8465010e73c3a2add6d9c7a668f0e24eea9cc8d (patch)
tree737f4a288eaaf69898c3139fdb0c79499c4bf910 /tests/root/subdir
parent830aa8ebd393e719c65aa2ef08c14da8e46f44e0 (diff)
downloadsphinx-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.txt12
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.