Documentation
¶
Overview ¶
Package glossary edits spec/glossary.md. Parsing lives in repo; this package is the writing half. Every operation returns the rewritten page and leaves the file on disk alone.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Include ¶
Include appends identifiers to the page's includes list, in the order given, skipping any already present. It takes source separately so that it can be applied to a page another operation has already rewritten.
func Rename ¶
Rename retitles a term, records the previous name, and re-sorts. It does not rewrite links elsewhere: the old anchor is gone, so L17 reports them, and they must then be corrected by hand. `archdoc link` cannot repair them. It expands [[...]] and deliberately never edits an existing markdown link, and [[<old name>]] does not resolve either, because Repo.Term keys on current headings and a recorded former name is not a term.
Types ¶
This section is empty.