quarto-dev / quarto-dev/quarto-cli
Add `page-navigation: true` with `sidebar: false`
Nobody has claimed this yet.
- 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 checkso we know which version of quarto and its dependencies you're running.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- 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