From 03dc70b2c5f0d14f04f14f031a8c8245772709ef Mon Sep 17 00:00:00 2001 From: Simon Exner Date: Tue, 14 Nov 2023 10:19:07 +0100 Subject: [PATCH] fixes for makeshift gif fix --- .github/workflows/Example.yml | 8 +++++++- docs/make.jl | 2 +- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/.github/workflows/Example.yml b/.github/workflows/Example.yml index 526c9e70..de67c87c 100644 --- a/.github/workflows/Example.yml +++ b/.github/workflows/Example.yml @@ -50,7 +50,13 @@ jobs: - name: "Fix GIF" run: | - sed -i -E 's~()~```@raw html\n\1\n```~g' juliacon_2023.md + if ("${{ matrix.file-name }}" -eq "juliacon_2023") + { + echo "starting the mess" + $env:Path += ";C:\Program Files\Git\usr\bin" + sed -i -E "s~()~\\\`\\\`\\\`@raw html\n\1\n\\\`\\\`\\\`~g" examples/src/${{ matrix.file-name }}.md + echo "mess finished" + } - name: Archive examples artifacts if: success() && matrix.os == 'windows-latest' diff --git a/docs/make.jl b/docs/make.jl index 4eaa7378..a6e26a72 100644 --- a/docs/make.jl +++ b/docs/make.jl @@ -12,7 +12,7 @@ makedocs(sitename="FMIFlux.jl", collapselevel = 1, sidebar_sitename = false, edit_link = nothing, - size_threshold_ignore = ["examples\\juliacon_2023.md"] + size_threshold_ignore = [joinpath("examples","juliacon_2023.md")] ), warnonly=true, pages= Any[