quarto-dev / quarto-dev/quarto-cli

Add `page-navigation: true` with `sidebar: false`

Open
#5,249 5 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement websites
Dominant language
JavaScript
Stars
6k
Forks
458
Avg merge
1d 9h
Merged PRs (30d)
41

Description

Bug description

Currently it doesn't appear to be possible (afaict) to use page-navigation: true with sidebar: false.

I'm on MacOS

$ quarto --version
1.3.326

I've had to set sidebar: contents: auto with the styles for .sidebar-menu-container set to display: none with page-navigation: true to get a somewhat desirable behavior.

I'm also getting some inconsistent ordering for the page navigation. Sometimes it links to one page and other times it links to another.

I'm not sure if this should be a separate issue or not, but it would be nice if I could add contents to the sidebar from the YAML inside a single page.

Checklist
  • Please include a minimal, fully reproducible example in a single .qmd file? Please provide the whole file rather than the snippet you believe is causing the issue.
  • Please format your issue so it is easier for us to read the bug report.
  • Please document the RStudio IDE version you're running (if applicable), by providing the value displayed in the "About RStudio" main menu dialog?
  • Please document the operating system you're running. If on Linux, please provide the specific distribution.
  • Please provide the output of quarto check so we know which version of quarto and its dependencies you're running.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

No source file, test, or minimal .qmd reproduction is provided. Start by reproducing the reported configuration with page-navigation: true and sidebar: false on Quarto 1.3.326, then trace the navigation and sidebar rendering paths. Done means page navigation works without a sidebar and its ordering is consistent.

Written by the indexing model from the issue text.

Assessment

Tech stack
css, markdown, yaml
Domain
frontend, web-dev
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.