niftynei
ba7d4a8f6b
make-schema: don't include tools/fromschema.py in SHASUMS
...
We were including the entire list of prerequisites when generating a
shastamp, which for schemas includes the `tools/fromschema.py` doc.
This meant all of our shasums were updating anytime this tool file
changed.
Instead, we just include the first prerequisite.
See: https://www.gnu.org/software/make/manual/html_node/Automatic-Variables.html#Automatic-Variables
2022-07-14 12:24:48 -05:00
Vincenzo Palazzo
bd3c0ef85c
jsonschema: Formatting json schema and regenerate docs
...
Signed-off-by: Vincenzo Palazzo <vincenzopalazzodev@gmail.com>
2021-11-28 10:55:48 +10:30
Rusty Russell
6d1897b796
doc: fix GH/readthedocs rendering of manual pages.
...
They render the comment as if it's in the list.
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
2021-09-05 15:02:17 +02:00
Rusty Russell
6e636a835f
tools/fromschema.py: handle deprecated null field, don't create empty lists.
...
1. listpeers has a deprecated `"closer": null`, which we need
to handle in the schema, while trying not to damage our
documentation too much.
2. Don't print a condition if there are no fields to print.
3. Allow a special "untyped" marker for multifundchannel which returns
arbitrary JSON in a field.
4. Allow a single field return (for 'stop').
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
2021-06-25 09:49:33 +09:30
Rusty Russell
3bc5d47aa2
doc/schemas: add some simple schemas and generate manpages from them
...
addgossip, check, createinvoice, createonion.
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
2021-05-27 20:28:49 +09:30
Rusty Russell
9da191e034
docs: document addgossip API.
...
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Changelog-Added: JSON-RPC: `addgossip` allows direct injection of network gossip messages.
2021-02-02 13:44:01 +01:00