DH_SPHINXDOC(1) Debhelper DH_SPHINXDOC(1)

dh_sphinxdoc - helps with packaging Sphinx-generated documentation

dh_sphinxdoc [debhelper options] [-Xitem] [directory...]

dh_sphinxdoc is a debhelper program that prepares Sphinx-generated documentation for inclusion in a Debian package. More specifically:

Note that dh_sphinxdoc does not build the documentation, it only performs the above operations when the documentation is already installed into the package build path. To build the docs, please use sphinx-build(1) command or python3 -m sphinx syntax.

You can pass --with sphinxdoc to dh(1) to make it automatically call dh_sphinxdoc after dh_installdocs.

By default, dh_sphinxdoc scans your package looking for directories looking like they contain Sphinx-generated documentation. However, if you explicitly provide one or more directories, only they will be processed. If documentation is not found at directory, an error is raised.
Exclude files that contain item anywhere in their filename from being symlinked, removed or checked for existence.

Symlinking translations.js is not supported.

debhelper(7), dh(1).

This program is meant to be used together with debhelper.

Jakub Wilk <jwilk@debian.org>

2024-03-21