From 3bc1fa1540e991898575184562635f60bd364129 Mon Sep 17 00:00:00 2001 From: Rutger Meuzelaar Date: Thu, 30 Apr 2026 15:55:06 +0200 Subject: [PATCH 1/2] Make the config file compatible with zola version 0.22.1 Related to bluerobotics/Cockpit-docs#40 --- config.toml | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/config.toml b/config.toml index 776142b..4d11da0 100644 --- a/config.toml +++ b/config.toml @@ -24,10 +24,12 @@ include_path = true # Whether to include the rendered content of the page/section in the index include_content = true -[markdown] -# Whether to do syntax highlighting -# Theme can be customised by setting the `highlight_theme` variable to a theme supported by Zola -highlight_code = true +[markdown.highlighting] +# Theme can be customised by setting the `theme` variable to a theme supported by Zola +theme = "slack-dark" + +# Whether to error when a theme is missing highlights for a specific language +error_on_missing_language = true [extra] version_choices = "/docs/data.json" From 4c85eb7458200239b7d0b2b52d6e68d401e83af4 Mon Sep 17 00:00:00 2001 From: Rutger Meuzelaar Date: Thu, 30 Apr 2026 15:59:41 +0200 Subject: [PATCH 2/2] Update zola deploy action to version 0.22.1 Related to bluerobotics/Cockpit-docs#40 --- .github/workflows/deploy.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 0704269..da1805b 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -31,7 +31,7 @@ jobs: ref: ${{ env.BRANCH }} - name: Run Zola - uses: shalzz/zola-deploy-action@v0.19.2 + uses: shalzz/zola-deploy-action@v0.22.1 env: BUILD_ONLY: true