Skip to content

[Sync to prerelease] Add Reference sidebar landing pages to fix breadcrumb navigation#2035

Merged
cderv merged 1 commit into
prereleasefrom
sync-2003-to-prerelease
May 19, 2026
Merged

[Sync to prerelease] Add Reference sidebar landing pages to fix breadcrumb navigation#2035
cderv merged 1 commit into
prereleasefrom
sync-2003-to-prerelease

Conversation

@github-actions

Copy link
Copy Markdown
Contributor

Description

Sync of #2003 to prerelease.

Original PR

Add Reference sidebar landing pages to fix breadcrumb navigation

When clicking the Formats breadcrumb on /docs/reference/formats/<page>.html, the link led to formats/html.html (the first child) instead of a section landing. The Reference > More section had a similar issue and was not a coherent grouping for its contents.

Adds explicit landing pages for three Reference sidebar sections so the breadcrumb renders as a clickable link to a real page:

  • Formats → new docs/reference/formats/index.qmd
  • Projects → new docs/reference/projects/index.qmd
  • More → renamed to Metadata and pointed at new docs/reference/metadata/index.qmd

The MoreMetadata rename matches the grouping already used in docs/reference/reference.yml (the master listing the website renders) — Dates, Globs, Citations, Cross-References, and Brand are now grouped under Metadata in the sidebar too. The five items themselves are unchanged.

Each landing mirrors the existing docs/reference/cells/ pattern: small index.qmd shell + a per-subdir reference.yml subset rendered by the existing ejs/links.ejs template. No new extension, shortcode, or filter. The master docs/reference/reference.yml is untouched.

Reported in quarto-dev/quarto-cli#14402. The underlying CLI fallback behavior (sidebar sections without href: use contents[0].href) is tracked separately at quarto-dev/quarto-cli#14454 and is not addressed here. Inner Guide sub-sections (HTML/PDF/MS Word/Typst/Markdown under Documents) and Reference > Quarto CLI continue to inherit the same fallback and are deferred.

A follow-up PR will fix the Documents section in the Guide sidebar.

* Add Formats landing page for Reference sidebar

* Add Projects landing page for Reference sidebar

* Replace Reference 'More' section with 'Metadata' landing page

(cherry picked from commit 32e1c70)
@cderv

cderv commented May 18, 2026

Copy link
Copy Markdown
Member

/deploy-preview

@github-actions

Copy link
Copy Markdown
Contributor Author

@cderv cderv merged commit f16d4c2 into prerelease May 19, 2026
@cderv cderv deleted the sync-2003-to-prerelease branch May 19, 2026 12:36
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