mirror of
https://github.com/aljazceru/lightning.git
synced 2025-12-19 15:14:23 +01:00
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 <rusty@rustcorp.com.au>
This commit is contained in:
@@ -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:
|
- **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
|
- **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
|
- **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
|
- **invoice** (hex): features in our BOLT11 invoices
|
||||||
- **address** (array of objects, optional): The addresses we announce to the world:
|
- **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")
|
- **type** (string): Type of connection (one of "dns", "ipv4", "ipv6", "torv2", "torv3", "websocket")
|
||||||
@@ -128,4 +128,4 @@ RESOURCES
|
|||||||
---------
|
---------
|
||||||
|
|
||||||
Main web site: <https://github.com/ElementsProject/lightning>
|
Main web site: <https://github.com/ElementsProject/lightning>
|
||||||
[comment]: # ( SHA256STAMP:f7c85915ae8da7e9cabd2c72a31157801524b53f6bf8463da1743a0ee71e7c88)
|
[comment]: # ( SHA256STAMP:52175b0eced3ed2992d27b983b50afe080134702874116ce0c8355a8adddd440)
|
||||||
|
|||||||
@@ -77,7 +77,7 @@
|
|||||||
},
|
},
|
||||||
"channel": {
|
"channel": {
|
||||||
"type": "hex",
|
"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": {
|
"invoice": {
|
||||||
"type": "hex",
|
"type": "hex",
|
||||||
|
|||||||
Reference in New Issue
Block a user