summaryrefslogtreecommitdiff
path: root/data/update.sh
diff options
context:
space:
mode:
authorpux <pux@raumdock.pux.dom>2023-01-07 10:58:18 +0100
committerpux <pux@raumdock.pux.dom>2023-01-07 10:58:18 +0100
commit407572b5f49d89baad3dd0ef3d50b89a3b1ae451 (patch)
treee50c5eaa7c610949721a422cbd6b70b228955c1f /data/update.sh
downloadmuckedout-407572b5f49d89baad3dd0ef3d50b89a3b1ae451.tar.gz
muckedout-407572b5f49d89baad3dd0ef3d50b89a3b1ae451.tar.bz2
muckedout-407572b5f49d89baad3dd0ef3d50b89a3b1ae451.zip
initial commit, skel index.html and the md convert script
- also using old backpack notes from pub-docs/ to have an entry
Diffstat (limited to 'data/update.sh')
-rwxr-xr-xdata/update.sh20
1 files changed, 20 insertions, 0 deletions
diff --git a/data/update.sh b/data/update.sh
new file mode 100755
index 0000000..687c805
--- /dev/null
+++ b/data/update.sh
@@ -0,0 +1,20 @@
+#!/bin/sh
+
+cp INDEX_template.md INDEX.md
+
+for i in *.md
+do
+ filename_wo_ext=$(echo "$i" | cut -f 1 -d '.')
+ if [ $filename_wo_ext != "template" ] && [ $filename_wo_ext != "INDEX_template" ]
+ then
+ pandoc $i -s --highlight-style pygments --css=style.css --self-contained -t html5 -o $filename_wo_ext.html
+
+ if [ $filename_wo_ext != "INDEX" ]
+ then
+ echo "[$filename_wo_ext]($filename_wo_ext.html) " >> INDEX.md
+ fi
+
+ fi
+done
+
+ln -s INDEX.html index.html
in each repos: see "about"-tab (if existing) for more details / README.
mailto contact at omeckman dot net
all timestamps in UTC (German winter time: UTC+01:00, summer time: UTC+02:00)
dark theme is a modded version of: https://gist.github.com/Yoplitein/f4b671a2ec70c9e743fa