diff options
| author | Taylan Kammer <taylan.kammer@gmail.com> | 2026-01-12 08:03:38 +0100 |
|---|---|---|
| committer | Taylan Kammer <taylan.kammer@gmail.com> | 2026-01-12 08:03:38 +0100 |
| commit | 2f77b3ceaa2989d944296c572a07b2caee39d9d4 (patch) | |
| tree | 93b5838d5d49e7f7f23796c1accc089a5b78eacd /html/gen.sh | |
| parent | b7a386f1da020cb4dde8d37e96170ea4299def30 (diff) | |
Update HTML stuff.
Diffstat (limited to 'html/gen.sh')
| -rwxr-xr-x | html/gen.sh | 15 |
1 files changed, 8 insertions, 7 deletions
diff --git a/html/gen.sh b/html/gen.sh index 03ae570..ad362c7 100755 --- a/html/gen.sh +++ b/html/gen.sh @@ -26,13 +26,14 @@ md2ht() { } > "$dst" } -md2ht index.md index.html +md2ht index.md zisp/index.html +cp style.css zisp/ for file in ../notes/*.md do name=${file#../notes/} name=${name%.md} - md2ht "$file" "notes/$name.html" + md2ht "$file" "zisp/notes/$name.html" done shopt -s globstar @@ -43,17 +44,17 @@ do name=${name%.md} dir=${file#../} dir=${dir%/*} - mkdir -p "$dir" - md2ht "$file" "docs/$name.html" + mkdir -p "zisp/$dir" + md2ht "$file" "zisp/docs/$name.html" done for file in ../docs/**/*.txt do dir=${file#../} dir=${dir%/*} - mkdir -p "$dir" - dest=docs/${file#../docs/} + mkdir -p "zisp/$dir" + dest=zisp/docs/${file#../docs/} cp "$file" "$dest" done -rsync -a ./ tk:/var/www/html/zisp +rsync -a zisp tk:/var/www/html |
