Debian Codegraph @

test/data/dependencies.rst

raw
1 Test input for test_dependencies.
2
3 Docutils can write a list of files required to generate the output like
4 included files or embedded stylesheets. This is particularly useful in
5 conjunction with programs like ``make``.
6
7 Included files are recorded:
8
9 .. include:: include.rst
10
11 .. raw:: HTML
12 :file: raw.rst
13
14 Dependencies are recorded only once:
15
16 .. include:: include.rst
17
18 Image files are only recorded, if actually accessed
19 (to extract the size or if embedded in the output document):
20
21 .. image:: test.jpg
22
23 .. figure:: ../docs/user/rst/images/title.png
24 :figwidth: image
25
26 Scaled images without given size are recorded by the html writer:
27
28 .. image:: ../docs/user/rst/images/biohazard.png
29 :scale: 50 %
30
31 TODO: Paths in included files should be rewritten relative to the base
32 document.
33
34 * when loading images,
35 * when recording dependencies.
36
37 .. include: subdir/dependencies-included.rst