mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-01-21 07:55:00 +00:00
doc: wikiparser: Make it easier to run with a #! at the top
Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
This commit is contained in:
parent
95452c1313
commit
099d877b8f
@ -110,7 +110,7 @@ $(manual-pages-part-html): %.part.html: %.xml
|
||||
rm -f $(dir $@)docbook.css
|
||||
|
||||
$(manual-xmls) $(manual-pages-xml): %.xml: %.raw.wiki $(SCRIPTS_DIR)/wikiparser.py
|
||||
python3 $(SCRIPTS_DIR)/wikiparser.py --begin-marker="## BEGIN_INCLUDE" \
|
||||
$(SCRIPTS_DIR)/wikiparser.py --begin-marker="## BEGIN_INCLUDE" \
|
||||
--end-marker='## END_INCLUDE' $< | xmllint --format - > $@
|
||||
|
||||
%.1: %.xml
|
||||
|
||||
1
doc/scripts/wikiparser.py
Normal file → Executable file
1
doc/scripts/wikiparser.py
Normal file → Executable file
@ -1,3 +1,4 @@
|
||||
#!/usr/bin/python3
|
||||
# SPDX-License-Identifier: AGPL-3.0-or-later
|
||||
"""
|
||||
MoinMoin wiki parser
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user