]> git.street.me.uk Git - andy/viking.git/blobdiff - help/C/README.txt
Shell test should be '=' rather than '==' for maximum portability.
[andy/viking.git] / help / C / README.txt
index 1f924229e290ff1b245eb50fade49ba702871ca1..97b11fc03b9e03206a61c7085a284b865b2eec0b 100644 (file)
@@ -3,10 +3,16 @@ xmlto xhtml -m config.xsl viking.xml
 # ATM config is setup for a single page - index.html
 
 # To generate a block of text for the Wiki:
-html2wiki --dialect=MediaWiki \
---wiki-uri=http://sourceforge.net/p/viking/wikiallura \
---base-uri=http://sourceforge.net/p/viking/wikiallura \
-index.html > help.wiki
+#html2wiki --dialect=MediaWiki \
+#--wiki-uri=http://sourceforge.net/p/viking/wikiallura \
+#--base-uri=http://sourceforge.net/p/viking/wikiallura \
+#index.html > help.wiki
+
+# Allura Wiki is in Markdown
+# pandoc -f docbook viking.xml -t markdown -o help.md
+# Note pandoc (at least 1.12.4.2) doesn't open included files within docbook,
+#  so stick with using xmlto for now
+pandoc -f html index.html -t markdown -o help.md
 
 # To generate the PDF:
 dblatex viking.xml