scientific-python / scientific-python-hugo-theme

Hugo theme based on the design for numpy.org
https://theme.scientific-python.org/
Other
18 stars 22 forks source link

Use markdown links (not relref or ref shortcodes) #568

Closed jarrodmillman closed 5 months ago

jarrodmillman commented 6 months ago

Hugo 0.122 added link render hooks (so we don't need to use the relref or ref shortcodes anymore): https://gohugo.io/render-hooks/links/

See https://github.com/scientific-python/learn.scientific-python.org/pull/146 for example.

alphapapa commented 5 months ago

@jarrodmillman I've pushed PRs for these repos, all of the ones I could find that use relref or ref links in their content:

Please let me know if I've missed any, or if any other changes are needed. Thanks.

jarrodmillman commented 5 months ago

Thanks! I merged the ones that were ready to go (or only needed slight tweaking). The blog one looks like it has more tweaks needed, which I will for you to sort out. I will review once the CI passes.