Replaces the iframe-based viewer with a self-contained file where each page is a <section id="page-N">. Navigation (sidebar, prev/next, arrow keys, URL hash) scrolls to sections instead of loading separate files. Added build.py to regenerate index.html from the individual page files. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
20 lines
348 B
Makefile
20 lines
348 B
Makefile
# user := "admin"
|
|
# host := "chimaera.malzahn.lan"
|
|
# www-root := "/home/admin/caddy/public_html/fabula"
|
|
|
|
user := "root"
|
|
host := "goldfish.malzahn.lan"
|
|
www-root := "/usr/share/caddy/public_html/fabula"
|
|
|
|
clean:
|
|
rm -rf dist/*
|
|
|
|
serve:
|
|
npm run dev
|
|
|
|
deploy: build
|
|
scp -r dist/* {{ user }}@{{ host }}:{{ www-root }}/
|
|
|
|
build:
|
|
npm run build
|