mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-11-29 08:25:10 +00:00
doc: wikiparser: When processing single pages, ignore header/footer
Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org> Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
This commit is contained in:
1 parent
4ef2244af4
commit
e947e99af3
2 files changed
+14
-2
No files matched your search
+2
-1
@@ -117,7 +117,8 @@ $(manual-xmls): %.xml: %.raw.xml $(SCRIPTS_DIR)/fixes.xslt
|
||||
xsltproc --output $@ $(SCRIPTS_DIR)/fixes.xslt $<
|
||||
|
||||
$(manual-pages-raw-xml): %.raw.xml: %.raw.wiki $(SCRIPTS_DIR)/wikiparser.py
|
||||
python3 $(SCRIPTS_DIR)/wikiparser.py $< > $@
|
||||
python3 $(SCRIPTS_DIR)/wikiparser.py --begin-marker="## BEGIN_INCLUDE" \
|
||||
--end-marker='## END_INCLUDE' $< > $@
|
||||
|
||||
$(manual-pages-xml): %.xml: %.raw.xml $(SCRIPTS_DIR)/manual-page-fixes.xslt
|
||||
xsltproc --output $@ $(SCRIPTS_DIR)/manual-page-fixes.xslt $<
|
||||
|
||||
Reference in new issue
Block a user