Documentation
¶
Overview ¶
Package archdoc writes architecture documentation from one scan and its map: Markdown with arc42 sections and C4 context and container views in Mermaid. Every statement carries a footnote with the facts behind it and their file and line. Deterministic: the same scan, map and options give the same bytes. Sections the code cannot answer (goals, decisions, quality) are left blank for a person to write. See https://cernly.dev/how/architecture-docs/.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Options ¶
type Options struct {
Version string // the cernly version, printed in the header
Words map[string]Words // per finding rule; optional
// Labels names stacks for a reader (a declared display name); optional.
Labels map[string]string
// MaxEvidence is the number of places listed per fact (default 5).
MaxEvidence int
}