distill icon indicating copy to clipboard operation
distill copied to clipboard

Question: Where to include html and pdf files?

Open mskar opened this issue 3 years ago • 1 comments

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.

mskar avatar Mar 29 '21 04:03 mskar

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()

jjallaire avatar Mar 29 '21 23:03 jjallaire