ropensci-review-tools / babelquarto

Renders a Multilingual Quarto Project (Book or Website)
https://docs.ropensci.org/babelquarto/
Other
30 stars 6 forks source link

use cache #2

Open maelle opened 1 year ago

maelle commented 1 year ago

https://github.com/ropensci/dev_guide/issues/658 by @eliocamp

I see quarto::quarto_render() has a cache option but it's only for code chunks. :thinking:

maelle commented 1 year ago

maybe freezing

maelle commented 1 year ago

with the exception that we always want to re-render the doc where we read info from Airtable/GitHub (reviewers, editors)

maelle commented 1 year ago

freeze not a good fit, it's for computation.

Now, the problem is, everything is intertwined: if I change a chapter title, the TOC needs to be updated everywhere.

maelle commented 1 year ago

https://github.com/quarto-dev/quarto-cli/discussions/6173

maelle commented 12 months ago

maybe I could implement a function for rendering the currently opened file. :thinking: