From: Svjatoslav Agejenko Date: Sat, 7 Feb 2026 21:08:20 +0000 (+0200) Subject: Auto-generate web HTML X-Git-Url: http://www2.svjatoslav.eu/gitweb/?a=commitdiff_plain;h=2a01c032b5f8d51890e167bbd3d8641e22f2f0e6;p=sixth-3d-demos.git Auto-generate web HTML --- diff --git a/doc/index.org b/doc/index.org index e3b0019..f20e015 100644 --- a/doc/index.org +++ b/doc/index.org @@ -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]] diff --git a/tools/update web site b/tools/update web site index 49d31e4..9b31ad2 100755 --- a/tools/update web site +++ b/tools/update web site @@ -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 ""