Serializes a key/value mapping back into valid Doxyfile syntax.

Keys are sorted alphabetically and each entry is rendered as a single ‘KEY = VALUE’ line. The output ends with exactly one trailing newline.

Returns:

The serialized Doxyfile text, or an empty string when kvs is empty.

Methods

serialize_doxyfile

serialize_doxyfile(kvs: dict) -> str

Serializes a key/value mapping back into valid Doxyfile syntax.

Keys are sorted alphabetically and each entry is rendered as a single ‘KEY = VALUE’ line. The output ends with exactly one trailing newline.

Returns:

The serialized Doxyfile text, or an empty string when kvs is empty.

ParameterTypeDescription
kvsdictMapping of Doxyfile keys to their values.

Generated with Flude

Copyright © 2026