Documentation
¶
Overview ¶
Package configref builds docs/configuration.md, the reference of every setting a Līdza app reads, from the framework's source: the env tags of the packs' Config structs, the Env constants, and the settings read by name, each with its doc comment. `go generate ./pkg/configref` writes it; the package test fails while the file is stale or a setting read by name is undocumented.
Index ¶
Constants ¶
View Source
const AdminFile = "packs/admin/appsettings_gen.go"
AdminFile is the admin pack's table of the app settings, relative to the repository root: the Settings page edits each one.
View Source
const File = "docs/configuration.md"
File is the reference, relative to the repository root.
Variables ¶
This section is empty.
Functions ¶
func RenderAdmin ¶ added in v0.1.112
RenderAdmin is the admin pack's table of app settings (env.KindApp), as Go: name, area, default, description.
Types ¶
Click to show internal directories.
Click to hide internal directories.