Skip to content

fix(site): fix archetypes with Hugo 0.147.3+ by updating Docsy and render-heading template#6099

Merged
zirain merged 1 commit intoenvoyproxy:mainfrom
melsal13:fix-archetypes-hugo
May 16, 2025
Merged

fix(site): fix archetypes with Hugo 0.147.3+ by updating Docsy and render-heading template#6099
zirain merged 1 commit intoenvoyproxy:mainfrom
melsal13:fix-archetypes-hugo

Conversation

@melsal13
Copy link
Contributor

What type of PR is this?
Update Docsy to v0.11.0 for Hugo 0.147.3 compatibility and update site/layouts/_default/_markup/render-heading.html

What this PR does / why we need it:
This PR addresses a compatibility issue between newer Hugo versions (0.147.3+) and the site's template system. When using Hugo 0.147.3, users encounter an error: HTML/template:_markup/render-heading.html:1:12: no such template "_default/_markup/td-render-heading.html," which prevents both site-building and archetype generation.

The PR:

  • Updates Docsy from v0.10.0 to v0.11.0
  • Updates related dependencies (Font-Awesome and Bootstrap)
  • Fixes rendering templates to work with the newer Hugo version

Which issue(s) this PR fixes:
Fixes #6098

Release Notes: No

Signed-off-by: melsal13 <mmvsal13@gmail.com>
@melsal13 melsal13 requested a review from a team as a code owner May 16, 2025 18:55
Copy link
Contributor

@arkodg arkodg left a comment

Choose a reason for hiding this comment

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

🚀

@arkodg arkodg requested review from a team May 16, 2025 19:03
@codecov
Copy link

codecov bot commented May 16, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 70.42%. Comparing base (309750a) to head (b57beea).
Report is 3 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #6099      +/-   ##
==========================================
+ Coverage   70.39%   70.42%   +0.03%     
==========================================
  Files         217      217              
  Lines       36128    36128              
==========================================
+ Hits        25431    25442      +11     
+ Misses       9177     9167      -10     
+ Partials     1520     1519       -1     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@zirain zirain merged commit 7729aaa into envoyproxy:main May 16, 2025
30 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

bug: Error when using Hugo 0.147.3+: 'no such template "_default/_markup/td-render-heading.html"'

3 participants