DoxygenConfiguration¶
-
class
documenteer.stackdocs.doxygen.
DoxygenConfiguration
(inputs=<factory>, excludes=<factory>, recursive=True, file_patterns=<factory>, exclude_patterns=<factory>, exclude_symbols=<factory>, generate_html=False, generate_latex=False, generate_xml=True, xml_output=<factory>, xml_programlisting=False, create_subdirs=False, full_path_names=True, enable_preprocessing=True, macro_expansion=True, expand_only_predef=False, skip_function_macros=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.
Whether or not directories listed in
inputs
should be searched recursively.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
= False¶ Whether Doxygen should create subdirectories.
This should be NO for breathe/exhale to work.
-
enable_preprocessing
= True¶
-
expand_only_predef
= False¶
-
full_path_names
= True¶ Doxygen keeps the full path of each file, rather than stripping it.
-
generate_html
= False¶ Whether or not to generate HTML output.
-
generate_latex
= False¶ Whether or not to generate LaTeX output.
-
generate_xml
= True¶ Whether or not ot generate XML output.
-
macro_expansion
= True¶
-
recursive
= True¶ Whether or not directories listed in
inputs
should be searched recursively.
-
skip_function_macros
= False¶
-
xml_programlisting
= False¶ Whether to include the program listing in the XML 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
-