Skip to content

Commit

Permalink
doc: fix getinfo non-ASCII chars for older mrkd.
Browse files Browse the repository at this point in the history
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 <rusty@rustcorp.com.au>
  • Loading branch information
rustyrussell committed Apr 25, 2022
1 parent f5df690 commit 0ec947f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions doc/lightning-getinfo.7.md
Original file line number Diff line number Diff line change
Expand Up @@ -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")
Expand Down Expand Up @@ -128,4 +128,4 @@ RESOURCES
---------

Main web site: <https://github.com/ElementsProject/lightning>
[comment]: # ( SHA256STAMP:f7c85915ae8da7e9cabd2c72a31157801524b53f6bf8463da1743a0ee71e7c88)
[comment]: # ( SHA256STAMP:52175b0eced3ed2992d27b983b50afe080134702874116ce0c8355a8adddd440)
2 changes: 1 addition & 1 deletion doc/schemas/getinfo.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down

0 comments on commit 0ec947f

Please sign in to comment.