Go to file
urosm 2b78a800b1 update `pandoc` data dir 2024-05-21 00:58:21 +02:00
pandoc update `pandoc` data dir 2024-05-21 00:58:21 +02:00
public_html update `public_html` static files 2024-05-21 00:52:32 +02:00
.gitignore update .gitignore 2024-05-21 00:52:51 +02:00
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 update notes 2024-05-02 20:37:35 +02:00
aureli_arhitektura_in_abstrakcija.md update notes 2024-05-02 20:37:35 +02:00
benjamin_avtor_kot_proizvajalec.md update notes 2024-05-02 20:37:35 +02:00
biraghi_arhitekt_kot_intelektualec.md update notes 2024-05-02 20:37:35 +02:00
biraghi_larchitetto_come_intellettuale.it.md update notes 2024-05-02 20:37:35 +02:00
biraghi_larchitetto_come_intellettuale.sl.md update notes 2024-05-02 20:37:35 +02:00
delitev_cutnega.md update notes 2024-05-16 23:12:35 +02:00
engels_ludwig_feuerbach.md update notes 2024-05-02 20:37:35 +02:00
ferro_nacrt_gradbisce.md update notes 2024-05-02 20:37:35 +02:00
fortini_dve_avantgardi.md update notes 2024-05-02 20:37:35 +02:00
fragmenti_o_strojih.md update notes 2024-05-02 20:37:35 +02:00
greppi_produkcija_in_prostorsko_nacrtovanje.md update notes 2024-05-02 20:37:35 +02:00
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 update notes 2024-05-02 20:37:35 +02:00
kritika_arhitekturne_ideologije.md update notes 2024-05-02 20:37:35 +02:00
neusmerjeno_pisanje.md update notes 2024-05-17 15:36:03 +02:00
organiziranje_pesimizma.md update notes 2024-05-16 23:12:35 +02:00
panzieri_o_kapitalisticni_rabi_strojev.md update notes 2024-05-02 20:37:35 +02:00
planiranje_metropole.md update notes 2024-05-02 20:37:35 +02:00
produktivno_delo.md update notes 2024-05-16 23:12:35 +02:00
realna_subsumpcija_arhitekture.md update notes 2024-05-02 20:37:35 +02:00
tafuri_avstromarksizem_in_mesto.md update notes 2024-05-02 20:37:35 +02:00
tafuri_h_kritiki_arhitekturne_ideologije.md update notes 2024-05-02 20:37:35 +02:00
tafuri_il_socialismo_realizzato.md update notes 2024-05-02 20:37:35 +02:00
tafuri_norma_in_program.md update notes 2024-05-02 20:37:35 +02:00
tafuri_renesansa.md update notes 2024-05-02 20:37:35 +02:00
tafuri_socialdemokracija_in_mesto.md update notes 2024-05-02 20:37:35 +02:00
tafuri_teorije_in_zgodovina_arhitekture.md update notes 2024-05-02 20:37:35 +02:00
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 update notes 2024-05-02 20:37:35 +02:00
zgodovina_estetike.md update notes 2024-05-16 23:12:35 +02:00

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