This is a golang script, needed for generating the RPC elements documentation.
What is necessary to run this:
- Install
golang. - Install elements core, set it up to use
elementsregtestand enforcing PAK. - Run
elementsd. - Run
go run generate.gowhile being in contrib/doc-gen, and withelements-cliin PATH. - Add the generated files to git.