website doc rendering
authorChristian Weiske <cweiske@cweiske.de>
Thu, 7 Jan 2016 06:52:12 +0000 (07:52 +0100)
committerChristian Weiske <cweiske@cweiske.de>
Thu, 7 Jan 2016 06:52:12 +0000 (07:52 +0100)
README.rst
build.xml [new file with mode: 0644]

index adb2c5c..aa709a6 100644 (file)
@@ -242,6 +242,8 @@ About noxon-gateway
 
 Homepage
 ========
+``noxon-gateway`` lives at http://cweiske.de/noxon-gateway.htm
+
 The source code is available at http://git.cweiske.de/noxon-gateway.git/
 and mirrored at https://github.com/cweiske/noxon-gateway.
 
diff --git a/build.xml b/build.xml
new file mode 100644 (file)
index 0000000..d8518fa
--- /dev/null
+++ b/build.xml
@@ -0,0 +1,15 @@
+<?xml version="1.0" encoding="utf-8"?>
+<project name="noxon-gateway" default="docs" basedir=".">
+
+ <target name="docs" description="render documentation">
+  <rst file="README.rst"/>
+ </target>
+
+ <target name="update-website" depends="docs">
+  <exec command="xmlstarlet sel -t -c '/_:html/_:body/_:div' README.html
+   | xmllint --format -
+   |grep -v '?xml version'
+   > ~/Dev/html/cweiske.de/www/noxon-gateway.htm"/>
+ </target>
+
+</project>