ZapzapTools

main

docgen renders the node's package reference from godoc — every package under the module, one MDX page mirroring the import path — for docs.lux.network.

import "github.com/luxfi/zap/tools/docgen"

docgen renders the node's package reference from godoc — every package under the module, one MDX page mirroring the import path — for docs.lux.network. It PARSES (go/parser + go/doc), never builds, so it is immune to build-graph skew. Same model as hanzo/cloud generating its docs from source.

go run ./tools/docgen <out-dir> [root] # default root: .