Skip to content

Add Hugo to reference sidebar#1954

Merged
cderv merged 1 commit into
mainfrom
fix/hugo-reference-sidebar
Mar 10, 2026
Merged

Add Hugo to reference sidebar#1954
cderv merged 1 commit into
mainfrom
fix/hugo-reference-sidebar

Conversation

@cderv
Copy link
Copy Markdown
Member

@cderv cderv commented Mar 10, 2026

Hugo was restored in #1948 but only added to reference.yml (index listing), not to the _quarto.yml sidebar. Without the sidebar entry the page renders without navigation and the reference option tables are empty on deploy previews (visible in #1951).

Fix

  • Add Hugo entry to _quarto.yml sidebar under Markdown section
  • Add a quarto.log.warning() in reference.lua when the sibling JSON file is not found, so silent rendering failures are easier to diagnose

Hugo was restored in #1948 but only added to `reference.yml` (index
listing), not to `_quarto.yml` (sidebar). Without the sidebar entry
the page renders without navigation and the reference tables are
empty on deploy previews.

Also add a warning in `reference.lua` when the sibling JSON file
is not found, so silent rendering failures are easier to diagnose.
@github-actions github-actions Bot temporarily deployed to pull request March 10, 2026 12:05 Inactive
@github-actions
Copy link
Copy Markdown
Contributor

📝 Preview Deployment

🔍 Full site preview: https://deploy-preview-1954.quarto.org

@cderv cderv merged commit 55db1b9 into main Mar 10, 2026
4 checks passed
@cderv cderv deleted the fix/hugo-reference-sidebar branch March 10, 2026 12:06
@github-actions
Copy link
Copy Markdown
Contributor

Successfully created backport PR for prerelease:

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.

1 participant