Skip to content

Commit

Permalink
fixes for makeshift gif fix
Browse files Browse the repository at this point in the history
  • Loading branch information
0815Creeper committed Nov 17, 2023
1 parent 818262a commit 03dc70b
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
8 changes: 7 additions & 1 deletion .github/workflows/Example.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,13 @@ jobs:
- name: "Fix GIF"
run: |
sed -i -E 's~(<img src="data:image\/gif;base64,[[:alpha:],[:digit:],\/,+]*=" \/>)~```@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~(<img src=\"data:image\/gif;base64,[[:alpha:],[:digit:],\/,+,=]*\" \/>)~\\\`\\\`\\\`@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'
Expand Down
2 changes: 1 addition & 1 deletion docs/make.jl
Original file line number Diff line number Diff line change
Expand Up @@ -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[
Expand Down

0 comments on commit 03dc70b

Please sign in to comment.