mirror of
https://github.com/luxfi/zap.git
synced 2026-10-30 15:04:16 +00:00
tools/docgen (parse-only go/parser+go/doc, stdlib module) walks every package and emits MDX per package into docs.lux.network. `make docs` regenerates the ZAP-native reference from source comments. Co-authored-by: Hanzo Dev <[email protected]>
7 lines
231 B
Makefile
7 lines
231 B
Makefile
# Lux ZAP
|
|
|
|
ZAP_DOCS ?= $(HOME)/work/lux/docs/apps/docs/content/docs/zap/reference
|
|
.PHONY: docs
|
|
docs: ## Generate the ZAP package reference (godoc) into docs.lux.network
|
|
cd tools/docgen && GOWORK=off go run . $(ZAP_DOCS) $(CURDIR)
|