Go to file
urosm df2804d54e update notes 2024-06-09 11:57:27 +02:00
pandoc update `pandoc` data dir 2024-06-08 23:05:23 +02:00
public_html update `public_html` static files 2024-06-09 02:41:45 +02:00
.gitignore
Makefile update `Makefile` 2024-06-08 23:02:47 +02:00
README.md
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 update notes 2024-05-21 00:58:52 +02:00
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-06-09 11:57:27 +02:00
intelektualno_delo.md update notes 2024-06-08 23:43:28 +02:00
koncept_kritike_in_kritika_politicne_ekonomije.md update notes 2024-05-21 00:58:52 +02:00
kritika_arhitekturne_ideologije.md update notes 2024-05-24 10:40:32 +02:00
neusmerjeno_pisanje.md update notes 2024-05-21 00:58:52 +02:00
organiziranje_pesimizma.md
panzieri_o_kapitalisticni_rabi_strojev.md
planiranje_metropole.md
produktivno_delo.md update notes 2024-05-21 00:58:52 +02:00
realna_subsumpcija_arhitekture.md update notes 2024-05-21 00:58:52 +02:00
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-21 00:58:52 +02:00
tujost_kapitala.md update notes 2024-05-21 00:58:52 +02:00
zadnji_posnetki_evropske_inteligence.md update notes 2024-05-21 00:58:52 +02:00
zgodovina_estetike.md
zgodovina_in_razredna_zavest.md update notes 2024-05-24 20:40:09 +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