1
0
mirror of https://github.com/funkypenguin/geek-cookbook/ synced 2025-12-13 01:36:23 +00:00

Experiment with PDF generation

Signed-off-by: David Young <davidy@funkypenguin.co.nz>
This commit is contained in:
David Young
2022-08-19 16:40:53 +12:00
parent c051e0bdad
commit abf9309cb1
317 changed files with 124 additions and 546 deletions

View File

@@ -11,12 +11,12 @@ python3 scripts/build.py mkdocs.yml
if [ -z "$GH_TOKEN" ]
then
pip install mkdocs-material
mkdocs build -f mkdocs.yml
ENABLE_PDF_EXPORT=true mkdocs build -f mkdocs.yml
else
# Bypass search issue described at https://github.com/squidfunk/mkdocs-material/issues/3053
git clone --depth 1 https://${GH_TOKEN}@github.com/squidfunk/mkdocs-material-insiders.git
pip install -e mkdocs-material-insiders
mkdocs build -f mkdocs-insiders.yml
ENABLE_PDF_EXPORT=true mkdocs build -f mkdocs-insiders.yml
fi
# Setup any necessary netlify redirects