Go to file
urosm 5b51267bcf update `public_html` static files 2024-05-17 17:15:35 +02:00
pandoc update `pandoc` data dir 2024-05-17 17:15:28 +02:00
public_html update `public_html` static files 2024-05-17 17:15:35 +02:00
.gitignore
Makefile update `Makefile` 2024-05-17 15:35:32 +02:00
README.md update notes 2024-05-17 15:36:03 +02:00
asorrosa_prva_ocena.md
aureli_arhitektura_in_abstrakcija.md
benjamin_avtor_kot_proizvajalec.md
biraghi_arhitekt_kot_intelektualec.md
biraghi_larchitetto_come_intellettuale.it.md
biraghi_larchitetto_come_intellettuale.sl.md
delitev_cutnega.md
engels_ludwig_feuerbach.md
ferro_nacrt_gradbisce.md
fortini_dve_avantgardi.md
fragmenti_o_strojih.md
greppi_produkcija_in_prostorsko_nacrtovanje.md
index.md update notes 2024-05-17 15:36:03 +02:00
intelektualno_delo.md update notes 2024-05-17 15:36:03 +02:00
koncept_kritike_in_kritika_politicne_ekonomije.md
kritika_arhitekturne_ideologije.md
neusmerjeno_pisanje.md update notes 2024-05-17 15:36:03 +02:00
organiziranje_pesimizma.md
panzieri_o_kapitalisticni_rabi_strojev.md
planiranje_metropole.md
produktivno_delo.md
realna_subsumpcija_arhitekture.md
tafuri_avstromarksizem_in_mesto.md
tafuri_h_kritiki_arhitekturne_ideologije.md
tafuri_il_socialismo_realizzato.md
tafuri_norma_in_program.md
tafuri_renesansa.md
tafuri_socialdemokracija_in_mesto.md
tafuri_teorije_in_zgodovina_arhitekture.md
teorije_tehnologij.md update notes 2024-05-17 15:36:03 +02:00
tujost_kapitala.md update notes 2024-05-17 15:36:03 +02:00
zadnji_posnetki_evropske_inteligence.md
zgodovina_estetike.md

README.md

Zapiski in skripte za pretvarjanje zapiskov v različne formate in generiranje https://bavbavhaus.net. Glavni repozitorij se nahaja na https://git.kompot.si/urosm/bavbavhaus.net.

Recepti za generiranje https://bavbavhaus.net so opisani v Makefile:

# All notes referenced with internal links, starting from `index.md`.
NOTES = $(shell pandoc lua pandoc/collect_notes.lua index.md)
# All pages referenced with internal links, starting from `index.md`.
PAGES := $(patsubst %.md,public_html/%.html,$(NOTES))
# All parts referenced with internal links in `$(1)`, plus the sitemap.
PARTS = $(patsubst %.md,public_html/%.html.part,$(shell pandoc lua pandoc/collect_links.lua $(1))) public_html/sitemap.html.part

.PHONY: all
all: $(PAGES)

.SECONDEXPANSION:
public_html/%.html: flags = $(patsubst %,-M parts=%,$(filter-out $<,$^))
public_html/%.html: %.md $$(call PARTS,%.md)
	pandoc --data-dir pandoc -d bavbavhaus.net.yaml -M slug=$* $(flags) -o $@ $<

.SECONDARY:
public_html/%.html.part: %.md
	pandoc --data-dir pandoc -d bavbavhaus.net.part.yaml --id-prefix $* -M url=$*.html -M slug=$* -o $@ $<

Navodila za uporabo:

# install dependencies (debian)
sudo apt install pandoc
make