How to exclude subdirectories of docs from rerendering (quarto website hosted on github)? #1109
Replies: 1 comment 1 reply
-
For a Quarto project, output directory is always started french at each rendering. For anything that should be included in the output directory that is not rendered by quarto, it should be seen as resources.
Those subdirectories should be added a site resources: https://quarto.org/docs/websites/website-tools.html#site-resources Then if you need to ignore those folders from render target, you can either name the folder with a preprended Hope it clarifies the behavior. |
Beta Was this translation helpful? Give feedback.
-
I just built my website using quarto + github (the rendered website resides in the
docs
subfolder). I added some shinyapps that I add to subdirectories ofdocs
, e.g., in a folder calledshinyapp_styling_markers
. I compile these shinyapps independently from the website using shinylive (e.g., https://paulcbauer.github.io/shinyapp_styling_markers/). The app sits in the same directory that contains the qmd files underlying the website in a subfolder folder called2_shinyapp_styling_markers
.The problem: Every time I rerender the quarto website all the subfolders of
docs
that I added independently are overwritten. Is there a way to avoid that, i.e., to exclude somedocs
subfolders from being overwritten once I render the website? I tried the below but it didn't work sofar. Thanks!Beta Was this translation helpful? Give feedback.
All reactions