Parses raw Doxyfile text into a flat key/value mapping.

Skips blank lines and lines starting with ‘#’. Collapses Doxygen line continuations (lines ending with a trailing backslash) by space-joining the continued fragments into a single logical line before extracting the key/value pair. Keys are split strictly on the first ‘=’ sign. Duplicate keys (e.g. multi-value fields such as INPUT) accumulate as space-joined strings rather than overwriting the previous value.

Returns:

A dict mapping Doxyfile keys to their (possibly accumulated) values.

Methods

parse_doxyfile

parse_doxyfile(content: str) -> dict

Parses raw Doxyfile text into a flat key/value mapping.

Skips blank lines and lines starting with ‘#’. Collapses Doxygen line continuations (lines ending with a trailing backslash) by space-joining the continued fragments into a single logical line before extracting the key/value pair. Keys are split strictly on the first ‘=’ sign. Duplicate keys (e.g. multi-value fields such as INPUT) accumulate as space-joined strings rather than overwriting the previous value.

Returns:

A dict mapping Doxyfile keys to their (possibly accumulated) values.

ParameterTypeDescription
contentstrRaw Doxyfile text.

Generated with Flude

Copyright © 2026