Lintian Reports

W package-contains-python-doctree-file

All reports of package-contains-python-doctree-file for the archive. The extended description of this tag is:

This package appears to contain a pickled cache of reStructuredText (*.rst) documentation in a .doctree file.

These are not needed to display the documentation correctly and as they can contain absolute build paths can affect the reproducibility of the package.

Either prevent the installation of the .doctree file (or parent doctrees directory if there is one) or pass the -d option to sphinx-build(1) to create the caches elsewhere.

For example:

              PYTHONPATH=. sphinx-build -bman docs/ -d debian/doctrees docs/build/html
              PYTHONPATH=. sphinx-build -bhtml docs/ -d debian/doctrees docs/build/html
              rm -rf debian/doctrees

Refer to for details.

Severity: warning

Check: files/names

This tag has not been emitted in any package tested by Lintian.