mirror of
https://github.com/siderolabs/talos.git
synced 2025-08-17 20:17:03 +02:00
`docgen` now correctly extracts documentation for the structure itself, and supports mix of Go-style and yaml-style docblocks, so that we can keep linter happy while embedding examples. Fixes for the encoder to keep things marshaled same way even with the presence of the struct docs. Add real examples replacing fake ones. Add top-level hacked examples for `Config`, `MachineConfig` and `ClusterConfig` to show the overall structure without pulling in all the deep structure of those types. Fixes #2768 Signed-off-by: Andrey Smirnov <smirnov.andrey@gmail.com> |
||
---|---|---|
.. | ||
go.mod | ||
go.sum | ||
main.go |