diff --git a/.gitignore b/.gitignore index db14b63..e753db3 100644 --- a/.gitignore +++ b/.gitignore @@ -8,3 +8,4 @@ __pycache__/ # Lokaal gereedschap, niet voor de uitgave _gereedschap/extract.py NOTITIES-intern.md +00-presentatie/notities-begeleider.json diff --git a/00-presentatie/maak_dias.py b/00-presentatie/maak_dias.py index 12861e0..4feccea 100644 --- a/00-presentatie/maak_dias.py +++ b/00-presentatie/maak_dias.py @@ -9,6 +9,11 @@ from pathlib import Path HERE = Path(__file__).resolve().parent P = HERE / "project"; S = P / "slides"; S.mkdir(parents=True, exist_ok=True) ARTIFACT = "--artifact" in sys.argv +# Uitgebreide begeleidersnotities (privé, niet in git): notities-begeleider.json naast dit script, +# per dia-id een tekst die de sprekersnotitie vervangt. Alleen gebruikt met --notities. +NOTITIES = {} +if "--notities" in sys.argv: + NOTITIES = json.loads((HERE / "notities-begeleider.json").read_text(encoding="utf-8")) BEELD = { "logo": ("../beelden/logo-ai-netwerk-limburg.png", "/_blob/120fdff17b59f8e1cc380d9086a1ad9f"), "afgekeurd": ("../beelden/schoolnieuws-afgekeurd.jpg", "/_blob/9b09f7c211d54f2d5c5b5bdaa2b69fae"), @@ -26,6 +31,7 @@ LOGO=beeld("logo") order=[]; sections={} def slide(id_, body, bg=LIGHT, color=DARK, pad="128px 128px 160px", extra="display:flex; flex-direction:column; gap:40px", notes="", section=None, transition="fade", footer=True): fcol = "#8A8F98" if bg in (LIGHT, LIGHT2) else "#9AA3B1" + notes = NOTITIES.get(id_, notes) foot = f'
Workshop AI Agents met Dify · LeX Consultancy · AI Netwerk Limburg · CC BY-SA 4.0
' if footer else "" html = (f'