Inject deterministic YAML comments into a generated resume document.
This mutates the provided document, overwriting any existing comments so the
output is always the same regardless of what the source happened to emit.
When layouts are present, comments are also injected for layout-specific
fields.
Parameters
doc: Document
The parsed resume YAML document.
Returns string
The YAML string with deterministic comments injected.
Inject deterministic YAML comments into a generated resume document.
This mutates the provided document, overwriting any existing comments so the output is always the same regardless of what the source happened to emit. When layouts are present, comments are also injected for layout-specific fields.