From 0ec947f699b5ee540bcd91d687941c628236a405 Mon Sep 17 00:00:00 2001 From: Rusty Russell Date: Mon, 25 Apr 2022 21:03:22 +0930 Subject: [PATCH] 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 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 --- doc/lightning-getinfo.7.md | 4 ++-- doc/schemas/getinfo.schema.json | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/doc/lightning-getinfo.7.md b/doc/lightning-getinfo.7.md index 75921d06f..8330ee005 100644 --- a/doc/lightning-getinfo.7.md +++ b/doc/lightning-getinfo.7.md @@ -42,7 +42,7 @@ On success, an object is returned, containing: - **our_features** (object, optional): Our BOLT #9 feature bits (as hexstring) for various contexts: - **init** (hex): features (incl. globalfeatures) in our init message, these also restrict what we offer in open_channel or accept in accept_channel - **node** (hex): features in our node_announcement message - - **channel** (hex): negotiated channel features we — as channel initiator — publish in the channel_announcement message + - **channel** (hex): negotiated channel features we (as channel initiator) publish in the channel_announcement message - **invoice** (hex): features in our BOLT11 invoices - **address** (array of objects, optional): The addresses we announce to the world: - **type** (string): Type of connection (one of "dns", "ipv4", "ipv6", "torv2", "torv3", "websocket") @@ -128,4 +128,4 @@ RESOURCES --------- Main web site: -[comment]: # ( SHA256STAMP:f7c85915ae8da7e9cabd2c72a31157801524b53f6bf8463da1743a0ee71e7c88) +[comment]: # ( SHA256STAMP:52175b0eced3ed2992d27b983b50afe080134702874116ce0c8355a8adddd440) diff --git a/doc/schemas/getinfo.schema.json b/doc/schemas/getinfo.schema.json index 2ddbfc355..21001d0c7 100644 --- a/doc/schemas/getinfo.schema.json +++ b/doc/schemas/getinfo.schema.json @@ -77,7 +77,7 @@ }, "channel": { "type": "hex", - "description": "negotiated channel features we — as channel initiator — publish in the channel_announcement message" + "description": "negotiated channel features we (as channel initiator) publish in the channel_announcement message" }, "invoice": { "type": "hex",