Skip to content

Commit

Permalink
doc: Add enableoffer in makefile
Browse files Browse the repository at this point in the history
The `enableoffer` JSON schema is present, but it is not included in the `GENERATE_MARKDOWN` list within the Makefile. This resulted into missing `.7` and `.7.md` files, leading to missing manpage and the documentation portal page.

Changelog-None.
  • Loading branch information
ShahanaFarooqui authored and endothermicdev committed Feb 21, 2025
1 parent 121bec5 commit 37828b5
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion contrib/msggen/msggen/schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -12640,7 +12640,7 @@
"lightning-enableoffer.json": {
"$schema": "../rpc-schema-draft.json",
"type": "object",
"rpc": "disableoffer",
"rpc": "enableoffer",
"title": "Command for re-enabling an offer",
"description": [
"The **enableoffer** RPC command enables an offer, after it has been disabled."
Expand Down
1 change: 1 addition & 0 deletions doc/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,7 @@ GENERATE_MARKDOWN := doc/lightning-addgossip.7 \
doc/lightning-disableoffer.7 \
doc/lightning-disconnect.7 \
doc/lightning-emergencyrecover.7 \
doc/lightning-enableoffer.7 \
doc/lightning-exposesecret.7 \
doc/lightning-feerates.7 \
doc/lightning-fetchinvoice.7 \
Expand Down
1 change: 1 addition & 0 deletions doc/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,7 @@ Core Lightning Documentation
lightning-disableoffer <lightning-disableoffer.7.md>
lightning-disconnect <lightning-disconnect.7.md>
lightning-emergencyrecover <lightning-emergencyrecover.7.md>
lightning-enableoffer <lightning-enableoffer.7.md>
lightning-exposesecret <lightning-exposesecret.7.md>
lightning-feerates <lightning-feerates.7.md>
lightning-fetchinvoice <lightning-fetchinvoice.7.md>
Expand Down
2 changes: 1 addition & 1 deletion doc/schemas/lightning-enableoffer.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"$schema": "../rpc-schema-draft.json",
"type": "object",
"rpc": "disableoffer",
"rpc": "enableoffer",
"title": "Command for re-enabling an offer",
"description": [
"The **enableoffer** RPC command enables an offer, after it has been disabled."
Expand Down

0 comments on commit 37828b5

Please sign in to comment.