quarto-dev / quarto-dev/quarto-cli
Option for content-dir in `_quarto.yml`
Nadie ha tomado este issue todavía.
- Lenguaje dominante
- JavaScript
- Estrellas
- 6k
- Forks
- 458
- Merge medio
- 1 d 9 h
- PR fusionados (30 d)
- 41
Descripción
It's nice when writing a book to have a dedicated sub-dir for the "actual writing", as opposed to quarto scaffolding.
For example:
/
| -- quarto.yml
|
...
|
| -- chapters/
| -- chapter1.qmd
Currently, this works fine if your _quarto.yml looks like:
chapters:
- chapters/chapter1.qmd
This gets unwieldy if you have lots of chapters, or a long dir name.
It would be nice to be able to specify a sub-dir once and then just use the chapter names, e.g.:
content-dir: chapters
chapters:
- chapter1.qmd
My apologies if this is already possible and I just missed it in the docs.
So far, loving a bookdown -> quarto conversion. Everything feels super ergonomic. Thank you!
Guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Línea de trabajo
Start with the _quarto.yml examples in the issue and compare the current chapters paths with the proposed content-dir form. Trace how chapter paths are resolved, then verify that the documented configuration works for a book with multiple chapters.
Escrito por el modelo de indexación a partir del texto del issue.
Evaluación
- Stack tecnológico
- yaml
- Área
- build-system
- Tipo de issue
- Nueva funcionalidad
- Dificultad
- 3/5
- Tiempo estimado
- 1-2 días
- Estado de actividad
- Estancado
- Claridad
- Bastante claro
- Aptitud para principiantes
- 38/100