From cc57c1f9e83116cbd98bac77fe37516430e0e8d6 Mon Sep 17 00:00:00 2001 From: Thomas Berker Date: Wed, 15 Jan 2025 14:31:42 +0100 Subject: [PATCH] 1st try adding pdf-export --- .forgejo/workflows/deploy.yml | 3 ++- mkdocs.yml | 2 ++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/.forgejo/workflows/deploy.yml b/.forgejo/workflows/deploy.yml index 9e08f28..70e238d 100644 --- a/.forgejo/workflows/deploy.yml +++ b/.forgejo/workflows/deploy.yml @@ -14,7 +14,8 @@ jobs: - name: Install mkdocs and rsync run: | apt update - apt install -y mkdocs mkdocs-bootstrap mkdocs-nature mkdocs-material mkdocs-autorefs rsync + apt install -y mkdocs mkdocs-bootstrap mkdocs-nature mkdocs-material mkdocs-autorefs rsync weasyprint + pip install mkdocs-with-pdf - name: Install SSH key uses: https://github.com/shimataro/ssh-key-action@v2 with: diff --git a/mkdocs.yml b/mkdocs.yml index ac34d0e..772073c 100644 --- a/mkdocs.yml +++ b/mkdocs.yml @@ -5,3 +5,5 @@ nav: - Where and when: timespace.md - Program: program.md theme: material +plugins: + - with-pdf