quarto-dev / quarto-dev/quarto-cli

moving a document from appendices to a chapter does not render/move article in sidebar for book

Offen
#348 0 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen

Dieses Issue hat noch niemand übernommen.

books bug
Vorherrschende Sprache
JavaScript
Sterne
6k
Forks
458
Ø Merge
1 T. 9 Std.
Gemergte PRs (30 T.)
41

Beschreibung

Given a slightly simplified _quarto.yml:

book:
  title: "quarto-design"
  repo-url: https://github.com/dpastoor/quarto-design
  repo-actions: [edit, issue]
  chapters:
    - "index.qmd"
+     - part: user-journeys.qmd
+      chapters:
+        - rsc-user-journeys.qmd
  appendices:
     - appendix.qmd
-    - user-journeys.qmd

when making that shift, get the following:

GET: /user-journeys.html
ERROR: Book chapter 'rsc-user-journeys.qmd' not found # note then created it
GET: /user-journeys.html

the preview continues to work, but the chapter sidebar continues to render with user-journeys.qmd in the sidebar.

solution: takes exiting and restarting quarto preview to pick up the change.

Beitragsleitfaden

Beitragsleitfaden öffnen

Erste Schritte

  1. Lies das ganze Issue und danach den Beitragsleitfaden des Projekts.
  2. Schreib ins Issue, dass du es übernimmst — das erspart doppelte Arbeit.
  3. Forke das Repository und arbeite in einem Branch.
  4. Öffne einen Pull Request, der die Issue-Nummer nennt.

Rechercherichtung

Reproduce the case using the shown _quarto.yml and the user-journeys.qmd, rsc-user-journeys.qmd, and appendix.qmd files. Start by running quarto preview, move the article from appendices to chapters, and observe the requests and sidebar. Done means the moved article renders in the chapter sidebar without requiring a preview restart or producing the chapter-not-found error.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Bewertung

Tech-Stack
javascript
Bereich
cli
Issue-Typ
Bug
Schwierigkeit
3/5
Geschätzter Aufwand
1-2 Tage
Aktivitätsstatus
Veraltet
Klarheit
Größtenteils klar
Anfängerfreundlichkeit
35/100

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.