Skip to content

deps: upgrade hugo and docsy #475

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

Merged
merged 2 commits into from
Mar 19, 2025

Conversation

sgfost
Copy link
Contributor

@sgfost sgfost commented Mar 14, 2025

major upgrades:

  • hugo -> 0.133.1
  • docsy -> 0.11.0
  • bootstrap -> 5.3.3

changes:

  • switch from klakegg/hugo to floryn90/hugo for actively maintained docker images
  • switch to yaml hugo config (config.toml -> hugo.yaml)
  • replace yarn with npm
  • remove main.scss override and replace with _styles_project.scss for custom project styles
  • migrate from bootstrap v4, primarily: card-deck usage in the Execute Committee and Members page
  • replace issue template symlinks with hugo mounts, as support for symlinks was removed (Remove symlink support for the input files gohugoio/hugo#11556)

There are some minor visual differences as a result of upgrading that have not been touched such as padding on various elements, the color of the left-hand sidebar and footer, etc.

- hugo -> 0.133.0
- docsy -> 0.11.0
- bootstrap -> 5.3.3

* switch from klakegg/hugo to floryn90/hugo for actively maintained docker
  images
* convert config.toml -> hugo.yaml
* replace yarn with npm
* remove main.scss override and replace with _styles_project.scss for
  custom project styles
* refactor bootstrap v4 'card-deck' usage (EC page, members page)
* replace issue template symlinks with hugo mounts, as support for
  symlinks was removed (gohugoio/hugo#11556)
@sgfost sgfost added the OMF site infrastructure cyberinfrastructure for site label Mar 14, 2025
@sgfost sgfost requested a review from alee March 14, 2025 02:02
Copy link
Member

@alee alee left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great work, thanks @sgfost!

@@ -0,0 +1,3 @@
{{/* enable heading self links */}}
{{ template "_default/_markup/td-render-heading.html" . }}
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

would be good to include link to the docs here as a magical file reference to docsy things:

https://www.docsy.dev/docs/adding-content/navigation/#heading-self-links

@alee alee merged commit 38e4292 into openmodelingfoundation:develop Mar 19, 2025
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
OMF site infrastructure cyberinfrastructure for site
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants