-
Notifications
You must be signed in to change notification settings - Fork 975
Fix documentation website #8819
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
rustyrussell
merged 5 commits into
ElementsProject:master
from
ShahanaFarooqui:doc-sync-script-position-update
Jan 20, 2026
+109
−91
Merged
Changes from all commits
Commits
Show all changes
5 commits
Select commit
Hold shift + click to select a range
77df585
doc: Add signmessagewithkey to generate documentation
ShahanaFarooqui a4e9a89
doc: Update json and markdowns to make them .mdx compatible
ShahanaFarooqui c202c7f
script: Change category slug for better Admin panel management
ShahanaFarooqui faf9613
script: API v2 accepts `position` param rather than `order`
ShahanaFarooqui a8aeccd
script: More error checks and logging
ShahanaFarooqui File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -252,10 +252,10 @@ | |
| "lightning-askrene-listlayers(7)" | ||
| ], | ||
| "author": [ | ||
| "Rusty Russell <<[email protected]>> is mainly responsible." | ||
| "Rusty Russell [[email protected]](mailto:[email protected]) is mainly responsible." | ||
| ], | ||
| "resources": [ | ||
| "Main web site: <https://github.com/ElementsProject/lightning>" | ||
| "Main web site: [https://github.com/ElementsProject/lightning](https://github.com/ElementsProject/lightning)" | ||
| ], | ||
| "examples": [ | ||
| { | ||
|
|
@@ -3772,9 +3772,9 @@ | |
| "type": "object", | ||
| "additionalProperties": false, | ||
| "rpc": "bkpr-editdescriptionbypaymentid", | ||
| "title": "Command to change the description for events with {payment_id} after they're made", | ||
| "title": "Command to change the description for events with `payment_id` after they're made", | ||
| "description": [ | ||
| "The **bkpr-editdescriptionbypaymentid** RPC command updates all chain and channel events that match the {payment_id} with the provided {description}" | ||
| "The **bkpr-editdescriptionbypaymentid** RPC command updates all chain and channel events that match the `payment_id` with the provided `description`" | ||
| ], | ||
| "request": { | ||
| "required": [ | ||
|
|
@@ -6730,14 +6730,14 @@ | |
| "type": "array", | ||
| "description": [ | ||
| "Alternatives use a simple language to examine the command which is being run:", | ||
| " * time: the current UNIX time, e.g. \"time<1656759180\".", | ||
| " * id: the node_id of the peer, e.g. \"id=024b9a1fa8e006f1e3937f65f66c408e6da8e1ca728ea43222a7381df1cc449605\".", | ||
| " * method: the command being run, e.g. \"method=withdraw\".", | ||
| " * per: how often the rune can be used, with suffix \"sec\" (default), \"min\", \"hour\", \"day\" or \"msec\", \"usec\" or \"nsec\". e.g. \"per=5sec\".", | ||
| " * rate: the rate limit, per minute, e.g. \"rate=60\" is equivalent to \"per=1sec\".", | ||
| " * pnum: the number of parameters. e.g. \"pnum<2\".", | ||
| " * pnameX: the parameter named X e.g. \"pnamedestination=1RustyRX2oai4EYYDpQGWvEL62BBGqN9T\". NOTE: until v24.05, X had to remove underscores from the parameter name (e.g. `pnameamount_msat` had to be specified as `pnameamountmsat`) but that is now fixed.", | ||
| " * parrN: the N'th parameter. e.g. \"parr0=1RustyRX2oai4EYYDpQGWvEL62BBGqN9T\".", | ||
| " * time: the current UNIX time, e.g. `time<1656759180`.", | ||
| " * id: the node_id of the peer, e.g. `id=024b9a1fa8e006f1e3937f65f66c408e6da8e1ca728ea43222a7381df1cc449605`.", | ||
| " * method: the command being run, e.g. `method=withdraw`.", | ||
| " * per: how often the rune can be used, with suffix \"sec\" (default), \"min\", \"hour\", \"day\" or \"msec\", \"usec\" or \"nsec\". e.g. `per=5sec`.", | ||
| " * rate: the rate limit, per minute, e.g. `rate=60` is equivalent to `per=1sec`.", | ||
| " * pnum: the number of parameters. e.g. `pnum<2`.", | ||
| " * pnameX: the parameter named X e.g. `pnamedestination=1RustyRX2oai4EYYDpQGWvEL62BBGqN9T`. NOTE: until v24.05, X had to remove underscores from the parameter name (e.g. `pnameamount_msat` had to be specified as `pnameamountmsat`) but that is now fixed.", | ||
| " * parrN: the N'th parameter. e.g. `parr0=1RustyRX2oai4EYYDpQGWvEL62BBGqN9T`.", | ||
| " * pinvX_N: parse the parameter X as an invoice (bolt11 or bolt12) and extract field N for comparison. Fails if parameter X is not present, does not parse, or N is not one of the following field names:", | ||
| " * amount", | ||
| " * description", | ||
|
|
@@ -7085,12 +7085,12 @@ | |
| "", | ||
| "However, since brackets and AND conditions within OR are currently not supported for rune creation, we can restructure the conditions as follows:", | ||
| "", | ||
| "- method^list|method^get|method=summary|method=pay|method=xpay", | ||
| "- method/listdatastore", | ||
| "- method/pay|per=1day", | ||
| "- method/pay|pnameamount\\_msat<100000001", | ||
| "- method/xpay|per=1day", | ||
| "- method/xpay|pnameamount\\_msat<100000001" | ||
| "- `method^list|method^get|method=summary|method=pay|method=xpay`", | ||
| "- `method/listdatastore`", | ||
| "- `method/pay|per=1day`", | ||
| "- `method/pay|pnameamount_msat<100000001`", | ||
| "- `method/xpay|per=1day`", | ||
| "- `method/xpay|pnameamount_msat<100000001`" | ||
| ], | ||
| "request": { | ||
| "id": "example:createrune#9", | ||
|
|
@@ -34648,7 +34648,7 @@ | |
| "outputs": { | ||
| "type": "array", | ||
| "description": [ | ||
| "Format is like: [{destination1: amount1}, {destination2: amount2}] or [{destination: *all*}]. It supports any number of **confirmed** outputs." | ||
| "Format is like: `[{destination1: amount1}, {destination2: amount2}]` or `[{destination: *all*}]`. It supports any number of **confirmed** outputs." | ||
| ], | ||
| "items": { | ||
| "type": "outputdesc" | ||
|
|
||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -112,7 +112,7 @@ this is to avoid having lightningd interpret the position of an argument. | |
|
|
||
| Arguments may be integer numbers (composed entirely of digits), floating-point | ||
| numbers (has a radix point but otherwise composed of digits), *true*, *false*, | ||
| or *null*. Arguments which begin with *{*, *[* or *"* are also considered | ||
| or *null*. Arguments which begin with *`{`*, *`[`* or *`"`* are also considered | ||
| raw JSON and are passed through. Other arguments are treated as strings. | ||
|
|
||
| Some commands have optional arguments. You may use *null* to skip | ||
|
|
@@ -147,12 +147,12 @@ If the command succeeds, the exit status is 0. Otherwise: | |
| AUTHOR | ||
| ------ | ||
|
|
||
| Rusty Russell <<[email protected]>> is mainly to blame. | ||
| Rusty Russell [[email protected]](mailto:[email protected]) is mainly to blame. | ||
|
|
||
| RESOURCES | ||
| --------- | ||
|
|
||
| Main web site: <https://github.com/ElementsProject/lightning> | ||
| Main web site: [https://github.com/ElementsProject/lightning](https://github.com/ElementsProject/lightning) | ||
|
|
||
| COPYING | ||
| ------- | ||
|
|
||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -82,7 +82,7 @@ to gain our eternal gratitude! | |
| AUTHOR | ||
| ------ | ||
|
|
||
| Rusty Russell <<[email protected]>> wrote the initial version of **lightning-downgrade** and this man page. | ||
| Rusty Russell [[email protected]](mailto:[email protected]) wrote the initial version of **lightning-downgrade** and this man page. | ||
|
|
||
| SEE ALSO | ||
| -------- | ||
|
|
@@ -92,11 +92,11 @@ lightningd(8), lightningd-config(5) | |
| RESOURCES | ||
| --------- | ||
|
|
||
| Main web site: <https://github.com/ElementsProject/lightning> | ||
| Main web site: [https://github.com/ElementsProject/lightning](https://github.com/ElementsProject/lightning) | ||
|
|
||
| COPYING | ||
| ------- | ||
|
|
||
| Note: the modules in the ccan/ directory have their own licenses, but | ||
| the rest of the code is covered by the BSD-style MIT license. | ||
| Main web site: <https://github.com/ElementsProject/lightning> | ||
| Main web site: [https://github.com/ElementsProject/lightning](https://github.com/ElementsProject/lightning) | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -106,9 +106,8 @@ to gain our eternal gratitude! | |
| AUTHOR | ||
| ------ | ||
|
|
||
| ZmnSCPxj <<[email protected]>> wrote the initial version of | ||
| this man page, but many others did the hard work of actually implementing | ||
| **lightning-hsmtool**. | ||
| ZmnSCPxj [[email protected]](mailto:[email protected]) wrote the initial version of | ||
| this man page, but many others did the hard work of actually implementing **lightning-hsmtool**. | ||
|
|
||
| SEE ALSO | ||
| -------- | ||
|
|
@@ -118,11 +117,11 @@ lightningd(8), lightningd-config(5) | |
| RESOURCES | ||
| --------- | ||
|
|
||
| Main web site: <https://github.com/ElementsProject/lightning> | ||
| Main web site: [https://github.com/ElementsProject/lightning](https://github.com/ElementsProject/lightning) | ||
|
|
||
| COPYING | ||
| ------- | ||
|
|
||
| Note: the modules in the ccan/ directory have their own licenses, but | ||
| the rest of the code is covered by the BSD-style MIT license. | ||
| Main web site: <https://github.com/ElementsProject/lightning> | ||
| Main web site: [https://github.com/ElementsProject/lightning](https://github.com/ElementsProject/lightning) | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -106,7 +106,7 @@ invoked, so **python3** should be available in your environment. This | |
| can be verified with **which Python3**. The default reckless directory | ||
| is $USER/.lightning/reckless and it should be possible for the | ||
| lightningd user to execute files located here. If this is a problem, | ||
| the option flag **reckless -d=<my\_alternate\_dir>** may be used to | ||
| the option flag **reckless -d=`my_alternate_dir`** may be used to | ||
| relocate the reckless directory from its default. Consider creating a | ||
| permanent alias in this case. | ||
|
|
||
|
|
@@ -145,16 +145,15 @@ based. | |
|
|
||
| Rusty Russell wrote the outline for the reckless utility's function | ||
|
|
||
| Alex Myers <<[email protected]>> is mostly responsible for the | ||
| reckless code and this man page, with thanks to Christian Decker for | ||
| extensive review. | ||
| Alex Myers [[email protected]](mailto:[email protected]) is mostly responsible for the | ||
| reckless code and this man page, with thanks to Christian Decker for extensive review. | ||
|
|
||
| SEE ALSO | ||
| -------- | ||
|
|
||
| reckless(7), Core-Lightning plugins repo: <https://github.com/lightningd/plugins> | ||
| reckless(7), Core-Lightning plugins repo: [https://github.com/lightningd/plugins](https://github.com/lightningd/plugins) | ||
|
|
||
| RESOURCES | ||
| --------- | ||
|
|
||
| Main web site: <https://github.com/ElementsProject/lightning> | ||
| Main web site: [https://github.com/ElementsProject/lightning](https://github.com/ElementsProject/lightning) | ||
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.