You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

48 lines
1.5 KiB
Makefile

2 years ago
%.html: %.md
pandoc --from markdown-implicit_figures+auto_identifiers \
--section-divs \
--to html5 \
--css index.css \
2 years ago
--standalone $< \
-o $@
# index.html: index.md
# pandoc --from markdown-implicit_figures+auto_identifiers \
# --section-divs \
# --to html5 \
# --css index.css \
# --standalone index.md \
# -o index.html
2 years ago
8 years ago
all: index.json
2 years ago
8 years ago
archive.json:
python scripts/mediawiki.py gallery --name archive --recursive \
https://pzwiki.wdka.nl/mediadesign/Category:2016 \
https://pzwiki.wdka.nl/mediadesign/Category:2015 \
https://pzwiki.wdka.nl/mediadesign/Category:2014 \
https://pzwiki.wdka.nl/mediadesign/Category:2013 \
https://pzwiki.wdka.nl/mediadesign/Category:2012 \
https://pzwiki.wdka.nl/mediadesign/Category:2011 \
https://pzwiki.wdka.nl/mediadesign/Category:2010 \
https://pzwiki.wdka.nl/mediadesign/Category:2009 \
https://pzwiki.wdka.nl/mediadesign/Category:2008 \
https://pzwiki.wdka.nl/mediadesign/Category:2007 \
https://pzwiki.wdka.nl/mediadesign/Category:2006 \
https://pzwiki.wdka.nl/mediadesign/Category:2005 \
https://pzwiki.wdka.nl/mediadesign/Category:2004 > archive.json
drop.node.json: drop.json
cat drop.json | python scripts/leaflet.py gallery --reverse --recursive --direction 2 > drop.node.json
8 years ago
8 years ago
about.json: about.txt
8 years ago
python scripts/texthierarchy.py < about.txt > about.json
index.json: archive.json about.json drop.node.json
python scripts/includenodes.py xpub.top.json > index.json
recent.json: web.touch
python scripts/mediawiki.py recentfiles --usercategory Xpub ...