summaryrefslogtreecommitdiffstats
path: root/docs
diff options
context:
space:
mode:
authorChris Lumens <clumens@redhat.com>2007-11-16 15:23:07 -0500
committerChris Lumens <clumens@redhat.com>2007-11-16 15:23:28 -0500
commit109094c4acfe25c569bc49f8b3efad3b6c08fb35 (patch)
tree7a93490b8aed66a0455a8910f3658810dd9d94ca /docs
parent3150b04f321e57396571cccfd857179968b3c44e (diff)
downloadanaconda-109094c4acfe25c569bc49f8b3efad3b6c08fb35.tar.gz
anaconda-109094c4acfe25c569bc49f8b3efad3b6c08fb35.tar.xz
anaconda-109094c4acfe25c569bc49f8b3efad3b6c08fb35.zip
Strip out the wiki markup from docs (Paul Frields, #387341).
Diffstat (limited to 'docs')
-rw-r--r--docs/Makefile8
-rw-r--r--docs/toc-kill.xsl3
2 files changed, 8 insertions, 3 deletions
diff --git a/docs/Makefile b/docs/Makefile
index 7431a1b8e..df422303b 100644
--- a/docs/Makefile
+++ b/docs/Makefile
@@ -1,10 +1,12 @@
all: command-line.txt kickstart-docs.txt
-command-line.txt:
- curl -A "anaconda-build" -o command-line.txt "http://fedoraproject.org/wiki/Anaconda/Options?action=raw"
+command-line.txt: toc-kill.xsl
+ curl -A "anaconda-build" -o command-line.xml "http://fedoraproject.org/wiki/Anaconda/Options?action=format&mimetype=xml/docbook"
+ xmlto --skip-validation -m toc-kill.xsl txt command-line.xml
kickstart-docs.txt:
- curl -A "anaconda-build" -o kickstart-docs.txt "http://fedoraproject.org/wiki/Anaconda/Kickstart?action=raw"
+ curl -A "anaconda-build" -o kickstart-docs.xml "http://fedoraproject.org/wiki/Anaconda/Kickstart?action=format&mimetype=xml/docbook"
+ xmlto --skip-validation txt kickstart-docs.xml
clean:
rm -rf kickstart-docs.txt command-line.txt api
diff --git a/docs/toc-kill.xsl b/docs/toc-kill.xsl
new file mode 100644
index 000000000..e2acdfa3a
--- /dev/null
+++ b/docs/toc-kill.xsl
@@ -0,0 +1,3 @@
+<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
+ <xsl:param name="generate.toc"/>
+</xsl:stylesheet>