quarto-dev / quarto-dev/quarto-cli

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

Abierto
#348 0 comentarios 0 reacciones 0 asignados Ver en GitHub

Nadie ha tomado este issue todavía.

books bug
Lenguaje dominante
JavaScript
Estrellas
6k
Forks
458
Merge medio
1 d 9 h
PR fusionados (30 d)
41

Descripción

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.

Guía de contribución

Abrir la guía de contribución

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Línea de trabajo

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.

Escrito por el modelo de indexación a partir del texto del issue.

Evaluación

Stack tecnológico
javascript
Área
cli
Tipo de issue
Error
Dificultad
3/5
Tiempo estimado
1-2 días
Estado de actividad
Estancado
Claridad
Bastante claro
Aptitud para principiantes
35/100

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.