distill
distill copied to clipboard
Question: Where to include html and pdf files?
Whenever I run distill::render_site()
, an html file in my output directory (docs
) gets deleted and a pdf at the top level gets move to the output directory (docs
).
The html file displays a pdf file included in my site repo.
Is there a recommended location for html and pdf files?
I would like to be able to run distill::render_site()
without having to then restore the html file and delete the pdf file.
You might be able to play with the include
/ exclude
settings to prevent this from happening: https://rstudio.github.io/distill/website.html#site-output
Also, if you put these files in a subdirectory (as opposed to the root) and include
the subdirectory, they shouldn't be interfered with at all by render_site()