preprocess_package_doxygen_conf#
- documenteer.stackdocs.doxygen.preprocess_package_doxygen_conf(*, conf, package)#
Preprocess a Doxygen configuration for an individual package that is based on a package’s
doxygen.conf.in
file.This function adds paths to the
INPUT
andSTRIP_FROM_PATH
configuration tags, and plays an equivalent role to sconsUtils to add configurations to thedoxygen.conf.in
template for a package.- Parameters:
conf (
DoxygenConfiguration
) – A DoxygenConfiguration for an individual package. Most likely, this configuration is based on adoxygen.conf.in
file, which has not been processed bysconsUtils
, and thus does not have INPUT configurations set.package (
Package
) – Metadata about the package itself.
- Return type:
Notes
The only default package paths that are added to the Doxygen
INPUT
configuration tag are:include
The
doc
andpython
directories are handled exclusively by Sphinx. Thesrc
directory isn’t handled because Doxygen documentation comments are written exclusively in header files per the LSST DM standard. Theexamples
directory is also deprecated in the Sphinx regime.The function also addes the
include
directory of the package to theSTRIP_FROM_PATH
tag so that we don’t publish build system-specific paths for header files.