1
0
mirror of https://github.com/funkypenguin/geek-cookbook/ synced 2025-12-13 17:56:26 +00:00
Files
geek-cookbook/scripts/build-pdf.sh
David Young f20ebc282b Experiment with PDF generation
Signed-off-by: David Young <davidy@funkypenguin.co.nz>
2022-07-08 10:30:09 +12:00

5 lines
291 B
Bash
Executable File

#!/bin/bash
set -e
docker build --build-arg FROM_SOURCE=ghcr.io/geek-cookbook/mkdocs-material-insiders . -t funkypenguin/mkdocs-material --platform amd64
docker run --rm --name mkdocs-material -e ENABLE_PDF_EXPORT=1 -v ${PWD}:/docs funkypenguin/mkdocs-material build -f mkdocs-pdf-print.yml