HomePhabricator

[CMAKE] Make the doc-rpc target actually generate the rpc docs

Description

[CMAKE] Make the doc-rpc target actually generate the rpc docs

Summary:
The current target runs the go script, which is not enough to generate
the docs. It also requires a bitcoind instance running on regtest, and
the user has to go through the logic of starting the server, running the
target and shutting down the server.
This diff scripts this process so that the doc-rpc target handles all
of this and actually generates the RPC docs.

Test Plan:

ninja doc-rpc

Reviewers: #bitcoin_abc, deadalnix, jasonbcox

Reviewed By: #bitcoin_abc, deadalnix, jasonbcox

Subscribers: jasonbcox, deadalnix

Differential Revision: https://reviews.bitcoinabc.org/D7409

Details

Provenance
FabienAuthored on Sep 10 2020, 07:13
abc-botPushed on Sep 10 2020, 07:19
Reviewer
Restricted Project
Differential Revision
D7409: [CMAKE] Make the doc-rpc target actually generate the rpc docs
Parents
rABC31e229263ee1: [Automated] Update timing.json
Branches
Unknown
Tags
Unknown