-
-
Notifications
You must be signed in to change notification settings - Fork 10
Update figure shortcodes to new syntax #283
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
❌ Deploy Preview for pybamm-developer-preview failed.
|
8aa7b96
to
da2e3d6
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
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 light >}} | |
label: DOI | |
link: https://doi.org/10.1149/2.0341915jes | |
{{< /button >}} | |
</div> |
{{ < 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! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks, @goanpeca! All good now :D
❌ Deploy Preview for pybamm-developer-preview failed.
|
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