update serve_html

This commit is contained in:
jsz4n
2025-09-24 19:08:25 +02:00
parent 249832abaa
commit b67990cca1

View File

@@ -7,10 +7,14 @@ html:
pdf: pdf:
./scripts/slides_to_pdf.sh slides.md ./scripts/slides_to_pdf.sh slides.md
serve_html: html serve_html:
@echo creating html
./scripts/slides_to_html.sh slides.md
@echo creating links
ln -b -s `pwd`/templates/custom.css `pwd`/html/custom.css ln -b -s `pwd`/templates/custom.css `pwd`/html/custom.css
ln -b -s `pwd`/medias `pwd`/html/medias ln -b -s `pwd`/medias `pwd`/html/medias
ln -b -s `pwd`/html/slides.html `pwd`/html/index.html ln -b -s `pwd`/html/slides.html `pwd`/html/index.html
@echo launching server...
python -m http.server --directory html 7777 python -m http.server --directory html 7777
clean: clean: