When changing the RPC, the documentation auto generate doesn't seem to trigger. Doing these commands seems to generate the RPC documentation manually.
PYTHONPATH=contrib/msggen python3 contrib/msggen/msggen/__main__.py
python -m grpc_tools.protoc -I cln-grpc/proto cln-grpc/proto/node.proto --python_out=contrib/pyln-testing/pyln/testing/ --grpc_python_out=contrib/pyln-testing/pyln/testing/ --experimental_allow_proto3_optional
python -m grpc_tools.protoc -I cln-grpc/proto cln-grpc/proto/primitives.proto --python_out=contrib/pyln-testing/pyln/testing/ --experimental_allow_proto3_optional
find contrib/pyln-testing/pyln/testing/ -type f -name "*.py" -print0 | xargs -0 sed -i 's/^import \(.*\)_pb2 as .*__pb2/from . import \1_pb2 as \1__pb2/g'
These commands are ripped from the toplevel Makefile. Something seems to be making these not fire automatically during make.
When changing the RPC, the documentation auto generate doesn't seem to trigger. Doing these commands seems to generate the RPC documentation manually.
These commands are ripped from the toplevel Makefile. Something seems to be making these not fire automatically during make.