DoxygenConfiguration¶
-
class
documenteer.stackdocs.doxygen.
DoxygenConfiguration
(inputs: List[pathlib.Path] = <factory>, excludes: List[pathlib.Path] = <factory>, recursive: bool = True, file_patterns: List[str] = <factory>, exclude_patterns: List[str] = <factory>, exclude_symbols: List[str] = <factory>, project_name: str = 'The LSST Science Pipelines', project_brief: str = 'C++ API Reference', output_directory: pathlib.Path = <factory>, generate_html: bool = False, generate_latex: bool = False, tagfile: pathlib.Path = <factory>, generate_xml: bool = True, html_output: pathlib.Path = <factory>, use_mathjax: bool = True, mathjax_format: str = 'SVG', xml_output: pathlib.Path = <factory>, xml_programlisting: bool = False, create_subdirs: bool = False, full_path_names: bool = True, strip_from_path: List[pathlib.Path] = <factory>, enable_preprocessing: bool = True, macro_expansion: bool = True, expand_only_predef: bool = False, skip_function_macros: bool = False)¶ Bases:
object
A restricted Doxygen configuration.
Rather than accomodating arbitrary Doxygen configurations, this class maintains the key configurations that are required for a Doxygen build that is intended to be incorporated into a Sphinx build. As such, this configuration file may ignore some configuration values when parsing a raw configuration file.
Notes
See http://www.doxygen.nl/manual/config.html for more details about Doxygen configurations.
Attributes Summary
Whether Doxygen should create subdirectories.
Doxygen keeps the full path of each file, rather than stripping it.
Whether or not to generate HTML output.
Whether or not to generate LaTeX output.
Whether or not ot generate XML output.
Format of the MathJax output in the HTML build.
Brief description (subtile) of the project.
Name of the Doxygen project (used in the HTML output).
Whether or not directories listed in
inputs
should be searched recursively.Enable MathJax to render math, rather than LaTeX.
Whether to include the program listing in the XML output.
Methods Summary
from_doxygen_conf
(conf_text, root_dir)Create a new DoxygenConfiguration from the the content of a
doxygen.conf
ordoxygen.conf.in
file.render
()Render the Doxygen configuration file.
Attributes Documentation
-
create_subdirs
: bool = False¶ Whether Doxygen should create subdirectories.
This should be NO for breathe/exhale to work.
-
project_name
: str = 'The LSST Science Pipelines'¶ Name of the Doxygen project (used in the HTML output).
Methods Documentation
-
classmethod
from_doxygen_conf
(conf_text, root_dir)¶ Create a new DoxygenConfiguration from the the content of a
doxygen.conf
ordoxygen.conf.in
file.- Parameters
- conf_text
The text content of a
doxygen.conf
file.- root_dir
Directory containing the
doxygen.conf
file. This directory path is used to resolve any relative paths within the configuration file.
- Returns
- doxygen_configuration
A DoxygenConfiguration instance populated with configurations parsed from
doxygen_conf
.
Notes
Only select tags from the Doxygen configuration file are parsed and incorporated into the DoxygenConfiguration instance:
INPUT
EXCLUDE
EXCLUDE_PATTERNS
EXCLUDE_SYMBOLS
These are the only tags that individual packages should need to configure with respect to a stack-wide Doxygen build.
- Return type
-