This commit is contained in:
ge
2022-08-07 13:40:39 +03:00
commit 9a9405cb82
5 changed files with 390 additions and 0 deletions

21
Makefile Normal file
View File

@ -0,0 +1,21 @@
all: html
help:
@echo 'Run without target to build all (html, rss)'
@echo Available targets:
@echo 'html render HTML'
@echo 'serve serve site on localhost'
@echo 'css <theme> generate Pygments stylesheet'
html:
python rst_blg.py
serve:
http-server ./build
css:
mkdir -p assets/css/pygments
pygmentize -f html -S $(filter-out $@,$(MAKECMDGOALS)) -a .highlight > assets/css/pygments/$(filter-out $@,$(MAKECMDGOALS)).css
%:
@: