From 9f3137b925f9ebef05570a886b2f41b4520ca523 Mon Sep 17 00:00:00 2001 From: Yury Bayda Date: Mon, 17 Aug 2026 21:13:04 -0700 Subject: [PATCH] build: stop rendering worksheets as decks solid/01-foundations-worksheet.pdf was published but linked from nowhere, so it shipped as an unreachable file. Worksheets are session handouts, not decks; leave them as Markdown. --- Makefile | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 296467e..bb62443 100644 --- a/Makefile +++ b/Makefile @@ -1,7 +1,8 @@ OUTDIR ?= _site -# Decks live in per-curriculum subdirectories; -mindepth 2 keeps README.md out. -MARKDOWNS := $(shell find . -mindepth 2 -name '*.md' \ +# Decks live in per-curriculum subdirectories; -mindepth 2 keeps README.md out. Worksheets are +# session handouts rather than decks, and nothing links to them. +MARKDOWNS := $(shell find . -mindepth 2 -name '*.md' -not -name '*-worksheet.md' \ -not -path './node_modules/*' -not -path './$(OUTDIR)/*' | sed 's|^\./||' | sort) PDFS := $(patsubst %.md,$(OUTDIR)/%.pdf,$(MARKDOWNS)) MDFLAGS := -f markdown -t beamer -s -H include.tex -V aspectratio:169 -V urlcolor:red