mirror of
https://github.com/aljazceru/lightning.git
synced 2025-12-20 15:44:21 +01:00
tools: Add multi-language support to blockreplace.py
Suggested-by: Rusty Russell <@rustyrussell>
This commit is contained in:
committed by
Rusty Russell
parent
744d111cea
commit
a31575ca0b
@@ -200,5 +200,5 @@ doc/index.rst: $(MANPAGES:=.md)
|
||||
find doc -maxdepth 1 -name '*\.[0-9]\.md' | \
|
||||
cut -b 5- | LC_ALL=C sort | \
|
||||
sed 's/\(.*\)\.\(.*\).*\.md/\1 <\1.\2.md>/' | \
|
||||
python3 devtools/blockreplace.py doc/index.rst manpages --indent " " \
|
||||
python3 devtools/blockreplace.py doc/index.rst manpages --language=rst --indent " " \
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user