Documentation
¶
Overview ¶
Command refgen writes the Reference section of the documentation site (C-21.FR-2) into a directory, docs/reference by default: the pages of the log event registry, the metric registry and the Internal alert registry (C-02.FR-18, C-02.FR-19, C-06.FR-14), the environment variables of internal/config, the values of the Helm chart from its values.schema.json and values.yaml, the API page, the Bridge protocol page with the version of api/bridge.yaml (C-22.FR-20) and the index of the section. make generate runs it, and make generate-check fails when a checked-in page differs from what it writes. It fails when a registry is invalid, when a variable or a chart value has no description, when the Bridge protocol specification has no version, and when the metric registry or the metrics page differs from the metrics catalogue of reference.md in a name, a type, the Leader marker, the label names or a listed set of label values (C-19.FR-2).