Michael Czechowski c57db78c52 rework dev server: hmr for all courses, per-course targets, root index
- make dev serves all courses on port 1312 with marp live reload
- make dev-b/dev-c for single course on 1313/1314
- dev-kill only kills specific ports instead of all marp processes
- add generate-root-index.sh for prod build overview page
- cleanup function uses exec + trap instead of pid files
2026-04-09 22:10:48 +02:00
2026-01-30 17:55:53 +01:00

HdM Slides

Presentation slides for HdM Stuttgart courses, built with Marp.

Courses

Code Title Kapitel
223015b Dateiformate, Schnittstellen, Speichermedien 6
223015c Internettechnologien 3

Project Structure

slides/
├── 223015b/          # Dateiformate course
│   ├── 00-intro.md
│   ├── 01-grundlagen-text-audio.md
│   └── ...
└── 223015c/          # Internettechnik course
    ├── 01-geschichte-grundlagen-html.md
    └── ...
scripts/              # Build scripts
build/                # Generated output (gitignored)

Development

# Start development server (hot reload)
make dev              # Single server for all courses (port 3000)

# Access individual courses:
# 223015b: http://localhost:3000/223015b/
# 223015c: http://localhost:3000/223015c/

Build

make build            # Build all (HTML + PDF)
make build-b          # Build 223015b only
make build-c          # Build 223015c only
make html             # HTML only
make pdf              # PDF only

Klausur Folien

Extract exam-relevant slides (marked with <!-- _class: klausur -->) into a single file:

make klausur          # Extract all courses
make klausur-b        # 223015b only
make klausur-c        # 223015c only

Output: slides/<course>/klausurfolien.md

The generated file includes:

  • A title slide per kapitel for orientation
  • All slides marked with <!-- _class: klausur -->

Tools

make qr URL=https://example.com           # Generate QR code
make qr-slides COURSE=223015b             # QR for course URL
make optimize-images COURSE=223015b       # Resize images

Deploy

make deploy           # Deploy all courses
make deploy-b         # Deploy 223015b only
make deploy-c         # Deploy 223015c only

Marking Slides as Klausur-Relevant

Add this comment block after the slide separator:

---

<!-- _class: klausur -->
<!-- _header: '' -->
<!-- _footer: '' -->
<!-- _backgroundColor: #e3f2fd -->

# Your Slide Title

Content here...

The klausur class adds a visual indicator (diagonal stripes) during presentation.

Description
No description provided
Readme 136 MiB
Languages
HTML 89.1%
Shell 7.1%
Makefile 3.1%
JavaScript 0.3%
Nix 0.2%
Other 0.2%