ElementsProject / lightning

Core Lightning — Lightning Network implementation focusing on spec compliance and performance
Other
2.85k stars 902 forks source link

Docs: clarify writing-json-schemas.md and autogenerate-rpc-examples.py #7607

Closed evansmj closed 2 months ago

evansmj commented 2 months ago

Docs: clarify writing-json-schemas.md and autogenerate-rpc-examples.py

Description

Spelling and clarity on how to update schemas when you have added an RPCs. It wasn't super clear you have to run make again to get schema.json to update. This will help newcomers in the process of adding new RPCs, and make it easier to ctrl-f to find things with the correct spelling.

Changes Made

Checklist

Ensure the following tasks are completed before submitting the PR:

Additional Notes

Found these while helping to add the bkpr-editdescription RPCs. Used the Grazie Clion plugin to find additional typos and grammar fixes.

niftynei commented 2 months ago

LGTM; please remove the "Merge" commit, 78ac895

evansmj commented 2 months ago

LGTM; please remove the "Merge" commit, 78ac895

fixed

niftynei commented 2 months ago

ACK 6634c53abf1ee9fed1e552995d0eaf837849a626