quarto-dev / quarto-dev/quarto-cli

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

Aperta
#348 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

books bug
Lingua principale
JavaScript
Stelle
6k
Fork
458
Merge medio
1g 9h
PR unite (30g)
41

Descrizione

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.

Guida per i contributori

Apri la guida per i contributori

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Direzione di ricerca

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.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Valutazione

Stack tecnologico
javascript
Ambito
cli
Tipo di issue
Bug
Difficoltà
3/5
Tempo stimato
1-2 giorni
Stato di attività
Ferma
Chiarezza
Abbastanza chiara
Idoneità per principianti
35/100

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.