refactor: generate mdx docs with tabs for each config option

This commit is contained in:
Stavros
2026-07-12 17:53:34 +03:00
parent 791adbb54d
commit 7380cbfe44
4 changed files with 67 additions and 24 deletions
+2 -1
View File
@@ -46,8 +46,9 @@ func generateExampleEnv() {
func buildEnvEntry(child reflect.StructField, childValue reflect.Value, parentPath string, entries *[]EnvEntry) {
desc := child.Tag.Get("description")
tag := child.Tag.Get("yaml")
gen := child.Tag.Get("gen")
if tag == "-" {
if tag == "-" && gen != "include" {
return
}