Auto-generate web HTML master
authorSvjatoslav Agejenko <svjatoslav@svjatoslav.eu>
Sat, 7 Feb 2026 21:08:20 +0000 (23:08 +0200)
committerSvjatoslav Agejenko <svjatoslav@svjatoslav.eu>
Sat, 7 Feb 2026 21:08:20 +0000 (23:08 +0200)
doc/index.org
tools/update web site

index e3b0019..f20e015 100644 (file)
@@ -119,6 +119,9 @@ again, window must be unfocused first using ESC key.
 *Quite a lot of text editors can be rendered:*
 
 [[file:screenshots/text editors 2.png]]
+
+See also [[https://hackers-1995.vercel.app/][similar looking web based demo]] ! :)
+
 ** Mathematical formulas
 [[file:screenshots/mathematical formulas.png]]
 
index 49d31e4..9b31ad2 100755 (executable)
@@ -1,19 +1,27 @@
 #!/bin/bash
-cd "${0%/*}"; if [ "$1" != "T" ]; then gnome-terminal -- "$0" T; exit; fi;
 
 cd ..
 
-# build application and javadoc
+
+# Export org to html using emacs in batch mode.
+(
+  cd doc/
+
+  rm -f index.html
+  emacs --batch -l ~/.emacs --visit=index.org --funcall=org-html-export-to-html --kill
+)
+
+# Build application and javadoc.
 mvn clean package
 
-# copy generated javadoc for publishing on website
+# Copy generated javadoc for publishing on website.
 rm -rf doc/apidocs/
 cp -r target/apidocs/ doc/
 
-# copy runnable jar file for publishing on website
+# Copy runnable jar file for publishing on website.
 cp target/sixth-3d-demos.jar doc/
 
-# deploy generated project homepage to server
+# Deploy generated project homepage to server.
 rsync -avz --delete  -e 'ssh -p 10006' doc/ n0@www3.svjatoslav.eu:/mnt/big/projects/sixth-3d-demos/
 
 echo ""