Update figure shortcodes to new syntax#283
Update figure shortcodes to new syntax#283agriyakhetarpal merged 10 commits intopybamm-team:mainfrom
Conversation
❌ Deploy Preview for pybamm-developer-preview failed.
|
8aa7b96 to
da2e3d6
Compare
There was a problem hiding this comment.
Thanks for this, @goanpeca! I think there is one more change needed:
Start building sites …
hugo v0.141.0-e7bd51698e5c3778a86003018702b1a7dcb9559a+extended+withdeploy darwin/arm64 BuildDate=2025-01-16T13:11:18Z VendorInfo=hugo-python-distributions
Total in 52 ms
Error: error building site: process: readAndProcessContent: "/Users/agriyakhetarpal/Desktop/pybamm.org/content/publications.md:37:1": failed to extract shortcode: shortcode "button" does not evaluate .Inner or .InnerDeindent, yet a closing tag was provided
You may run it with nox locally after syncing the submodule to our work in my fork.
Most of the required changes should be around
pybamm.org/content/publications.md
Lines 34 to 38 in da2e3d6
{{ < button >}}s were missed.
Edit: ah, I see that you've only ported the figure shortcodes in this PR. Perhaps we should port the button and image shortcodes in the same PR as well (and elsewhere in other contemporary PRs too)?
da2e3d6 to
64d1be6
Compare
|
@agriyakhetarpal it has been fixed and tested! |
agriyakhetarpal
left a comment
There was a problem hiding this comment.
Thanks, @goanpeca! All good now :D
❌ Deploy Preview for pybamm-developer-preview failed.
|
✅ Deploy Preview for pybamm-developer-preview ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
|
Thanks a lot, @goanpeca! This really helped with the theme update. |

Hello team!
As part of figure, image and button shortcodes as being updated on this PR I created this PR to prepare the website for moving to the new syntax when a new version is released!
Pinging @agriyakhetarpal