Documentation
¶
Overview ¶
Package docutil provides small helpers for documentation generators to share.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ExtractDateLine ¶
ExtractDateLine returns the value of a date-like header line matching the given prefix. Example: prefix ":created-date:" matches a line like ":created-date: March 23, 2026" and returns "March 23, 2026".
func NormalizeForCompare ¶
NormalizeForCompare returns a version of the input with volatile header lines removed. Currently strips :created-date: and :revdate: lines so generators can perform stable comparisons and avoid rewriting files when only the date changes.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.