Skip to content

Commit

Permalink
Sync with FEM on Colab website: fem-on-colab/fem-on-colab.github.io@f…
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions[bot] committed Feb 3, 2025
1 parent 19c7e0f commit 4edf826
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions _ext/ext.py
Original file line number Diff line number Diff line change
Expand Up @@ -293,10 +293,7 @@ def on_build_finished(app, exc):
if exc is None and app.builder.format == "html":
# Unescape at symbol
subprocess.run(
"find " + str(app.outdir) + r" -type f -not -path '*/\.git/*' -exec sed -i 's/%40/@/g' {} +",
shell=True)
subprocess.run( # undo incorrect escape in plotly js
"sed -i 's/t@0=/t%400=/g' " + str(app.outdir) + "/packages.html",
"find " + str(app.outdir) + r" -type f -not -path '*/\.git/*' -exec sed -i 's/%40unicatt/@unicatt/g' {} +",
shell=True)
# Mark current page as active
subprocess.run(
Expand Down

0 comments on commit 4edf826

Please sign in to comment.