When using blogdown in Rstudio the workflow involves
knitting the current file and
building the whole web site as separate operations. The allows you to quickly render just the current file and
serve the whole site.
By contrast, using Quarto in RStudio provides two
render buttons in the IDE, one associated with the current open file located above the source and one located under the
build tab. Both buttons do the same thing, render the entire site.
I argue this is wrong or a bug. File/render should render file. Build/render should render site. If you render a particular file from the Quarto CLI, just that file is rendered. That should be true in RStudio as well.
You might say "use
freeze" but that is not the same thing.
Freeze freezes the computational output, but the previously rendered HTML still gets overwritten. This is unnecessary overhead in most cases and prevents hand editing of the rendered HTML.
This is also a problem when porting old blog posts over to a new Quarto site. Some of my old posts break when re-rendering with computation. It's too late to
freeze them since the old output is only in the finished HTML. I would like to render just the selected new files OR, alternatively, have a YAML option to prevent overwriting existing HTML on a file-by-file basis.
Thanks for listening.