diff options
| author | milde <milde@929543f6-e4f2-0310-98a6-ba3bd3dd1d04> | 2017-04-19 16:47:35 +0000 |
|---|---|---|
| committer | milde <milde@929543f6-e4f2-0310-98a6-ba3bd3dd1d04> | 2017-04-19 16:47:35 +0000 |
| commit | 849526bb1d17946ef82cf4d7fd6c73f8a26fb5cd (patch) | |
| tree | 785431b3df285635e68682cd39cd853ca012ede2 /docutils/test | |
| parent | e4862c2c29e70b69a0902044d5d3662bbbadd1c7 (diff) | |
| download | docutils-849526bb1d17946ef82cf4d7fd6c73f8a26fb5cd.tar.gz | |
Documentation update.
git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk@8059 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
Diffstat (limited to 'docutils/test')
| -rw-r--r-- | docutils/test/data/dependencies.txt | 8 | ||||
| -rw-r--r-- | docutils/test/data/raw.txt | 1 | ||||
| -rwxr-xr-x | docutils/test/test_dependencies.py | 2 |
3 files changed, 10 insertions, 1 deletions
diff --git a/docutils/test/data/dependencies.txt b/docutils/test/data/dependencies.txt index cf1660dcd..43eaa8613 100644 --- a/docutils/test/data/dependencies.txt +++ b/docutils/test/data/dependencies.txt @@ -27,3 +27,11 @@ Scaled images without given size are recorded by the html writer: .. image:: ../docs/user/rst/images/biohazard.png :scale: 50 % + +TODO: Paths in included files should be rewritten relative to the base + document. + + * when loading images, + * when recording dependencies. + +.. include: subdir/dependencies-included.txt diff --git a/docutils/test/data/raw.txt b/docutils/test/data/raw.txt index e69de29bb..cfd650974 100644 --- a/docutils/test/data/raw.txt +++ b/docutils/test/data/raw.txt @@ -0,0 +1 @@ +Raw text. diff --git a/docutils/test/test_dependencies.py b/docutils/test/test_dependencies.py index 7fd971c85..8067514d9 100755 --- a/docutils/test/test_dependencies.py +++ b/docutils/test/test_dependencies.py @@ -74,7 +74,7 @@ class RecordDependenciesTests(unittest.TestCase): self.assertEqual(record, expected) def test_dependencies_latex(self): - # since 0.9, the latex writer records only really accessed files, too + # since 0.9, the latex writer records only really accessed files, too. # Note: currently, raw input files are read (and hence recorded) while # parsing even if not used in the chosen output format. # This should change (see parsers/rst/directives/misc.py). |
