Paths to literal include files and download files can now be absolute too.

This commit is contained in:
Georg Brandl
2009-02-24 13:38:15 +01:00
parent 29247f0896
commit fb511a015a
9 changed files with 49 additions and 20 deletions

View File

@@ -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.