From 6ef6bee540ea0b0193165e83d7d1fa35124e09f2 Mon Sep 17 00:00:00 2001 From: Gregor Zeitlinger Date: Tue, 29 Apr 2025 12:17:54 +0200 Subject: [PATCH 01/35] test gh pages Signed-off-by: Gregor Zeitlinger --- .github/workflows/github-pages.yaml | 17 ++++++++++++----- 1 file changed, 12 insertions(+), 5 deletions(-) diff --git a/.github/workflows/github-pages.yaml b/.github/workflows/github-pages.yaml index 0f1b8ac5c..3e6271bda 100644 --- a/.github/workflows/github-pages.yaml +++ b/.github/workflows/github-pages.yaml @@ -1,12 +1,19 @@ name: Deploy Documentation to Github Pages on: + on: + push: + branches: [ "main" ] + pull_request: + branches: [ "main" ] + # Runs on pushes targeting the 1.0.x branch - push: - branches: - - main - tags: - - "v*.*.*" # updates the version in the docs + # todo revert this +# push: +# branches: +# - main +# tags: +# - "v*.*.*" # updates the version in the docs # Allows you to run this workflow manually from the Actions tab workflow_dispatch: From ca955bcc0e7f31ae83fb23a41cbdcca6a82e4fd8 Mon Sep 17 00:00:00 2001 From: Gregor Zeitlinger Date: Tue, 29 Apr 2025 15:04:40 +0200 Subject: [PATCH 02/35] hugo Signed-off-by: Gregor Zeitlinger --- docs/themes/hugo-geekdoc/layouts/partials/language.html | 2 +- .../hugo-geekdoc/layouts/partials/microformats/opengraph.html | 2 +- .../layouts/partials/microformats/twitter_cards.html | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/themes/hugo-geekdoc/layouts/partials/language.html b/docs/themes/hugo-geekdoc/layouts/partials/language.html index fdcafd2b2..8ad972d07 100644 --- a/docs/themes/hugo-geekdoc/layouts/partials/language.html +++ b/docs/themes/hugo-geekdoc/layouts/partials/language.html @@ -1,4 +1,4 @@ -{{ if .Site.IsMultiLingual }} +{{ if .IsTranslated }}