quarto-dev / quarto-dev/quarto-cli

page navigation show part name

Open
#453 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

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

Description

Hi,
In Quarto Books when the next chapter is under a "part" I think it would be better to show that the user is at the end of a section and goes to a new section.

In the below example when the user is in "parazit.qmd" the next link in page navigation is to "benign.qmd". But I think the link should also contain the part name. Because it is a different topic and not relevant to current page.

   - part: "İnfeksiyöz Hastalıkların Patolojisi"
      chapters:
        - text: "Parazitler"
          href: parazit.qmd
    - part: "Temel Tümör Patolojisi"
       chapters:
        - benign.qmd
        - hamartom.qmd 
Screen Shot 2022-03-22 at 21 43 06

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

Reproduce the issue with the shown Quarto book YAML and inspect the page-navigation generation for transitions between parts. Done means the next-page link from parazit.qmd identifies the destination part before linking to benign.qmd.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
frontend
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.