Versuch mit mkdocs-to-pdf

This commit is contained in:
Florian Hensel
2025-12-14 09:47:43 +01:00
parent d49196fe8c
commit ba5b76055e
4 changed files with 11 additions and 17 deletions

View File

@@ -2,17 +2,7 @@ FROM squidfunk/mkdocs-material:latest
# Alpine-Pakete für WeasyPrint
RUN apk add --no-cache \
pango \
pango-dev \
cairo \
cairo-dev \
gdk-pixbuf \
gdk-pixbuf-dev \
jpeg-dev \
zlib-dev \
libffi-dev
weasyprint
# Plugin installieren
RUN pip install --no-cache-dir mkdocs-to-pdf
WORKDIR /docs