Skip to content

Commit 0ec947f

Browse files
committed
doc: fix getinfo non-ASCII chars for older mrkd.
When building reproducible build for Bionic: ``` Traceback (most recent call last): File "/usr/local/bin/mrkd", line 8, in <module> sys.exit(main()) File "/usr/local/lib/python3.6/dist-packages/mrkd/__init__.py", line 261, in main result = mistune.markdown(fp.read(), inline=inline, renderer=renderer) File "/usr/lib/python3.6/encodings/ascii.py", line 26, in decode return codecs.ascii_decode(input, self.errors)[0] UnicodeDecodeError: 'ascii' codec can't decode byte 0xe2 in position 1856: ordinal not in range(128) doc/Makefile:120: recipe for target 'doc/lightning-getinfo.7' failed make: *** [doc/lightning-getinfo.7] Error 1 ``` Signed-off-by: Rusty Russell <[email protected]>
1 parent f5df690 commit 0ec947f

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

doc/lightning-getinfo.7.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ On success, an object is returned, containing:
4242
- **our_features** (object, optional): Our BOLT #9 feature bits (as hexstring) for various contexts:
4343
- **init** (hex): features (incl. globalfeatures) in our init message, these also restrict what we offer in open_channel or accept in accept_channel
4444
- **node** (hex): features in our node_announcement message
45-
- **channel** (hex): negotiated channel features we as channel initiator publish in the channel_announcement message
45+
- **channel** (hex): negotiated channel features we (as channel initiator) publish in the channel_announcement message
4646
- **invoice** (hex): features in our BOLT11 invoices
4747
- **address** (array of objects, optional): The addresses we announce to the world:
4848
- **type** (string): Type of connection (one of "dns", "ipv4", "ipv6", "torv2", "torv3", "websocket")
@@ -128,4 +128,4 @@ RESOURCES
128128
---------
129129

130130
Main web site: <https://github.com/ElementsProject/lightning>
131-
[comment]: # ( SHA256STAMP:f7c85915ae8da7e9cabd2c72a31157801524b53f6bf8463da1743a0ee71e7c88)
131+
[comment]: # ( SHA256STAMP:52175b0eced3ed2992d27b983b50afe080134702874116ce0c8355a8adddd440)

doc/schemas/getinfo.schema.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@
7777
},
7878
"channel": {
7979
"type": "hex",
80-
"description": "negotiated channel features we as channel initiator publish in the channel_announcement message"
80+
"description": "negotiated channel features we (as channel initiator) publish in the channel_announcement message"
8181
},
8282
"invoice": {
8383
"type": "hex",

0 commit comments

Comments
 (0)