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[