File: dependencies.txt

package info (click to toggle)
python-docutils 0.19%2Bdfsg-6
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 9,668 kB
  • sloc: python: 45,630; lisp: 14,475; xml: 1,789; javascript: 1,032; sh: 130; makefile: 104
file content (37 lines) | stat: -rw-r--r-- 908 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
Test input for test_dependencies.

Docutils can write a list of files required to generate the output like
included files or embedded stylesheets. This is particularly useful in
conjunction with programs like ``make``.

Included files are recorded:

.. include:: include.txt

.. raw:: HTML
   :file: raw.txt

Dependencies are recorded only once:

.. include:: include.txt

Image files are only recorded, if actually accessed
(to extract the size or if embedded in the output document):

.. image:: test.jpg

.. figure:: ../docs/user/rst/images/title.png
   :figwidth: image

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