code.vegaprotocol.io/vega@v0.79.0/visor/builddocs.sh (about) 1 #!/bin/bash 2 # We need to have access to the vegacapsule repo locally for this to run 3 VEGACAPSULEPATH="../../vegacapsule" 4 5 # This script much be run from the visor folder 6 7 # Build visor-config 8 go run $VEGACAPSULEPATH/cmd/docs/main.go -type-names config.VisorConfigFile -description-path ./config/description.md -dir-path .. -tag-name toml > visor-config.md 9 10 # Build run-config 11 go run $VEGACAPSULEPATH/cmd/docs/main.go -type-names config.RunConfig -description-path ./config/description.md -dir-path .. -tag-name toml > run-config.md