etiennebacher / altdoc

Alternative to pkgdown to document R packages
https://altdoc.etiennebacher.com
Other
62 stars 9 forks source link

Quarto website not copied to `docs/` #264

Closed vincentarelbundock closed 4 months ago

vincentarelbundock commented 4 months ago

@kylebutts with the refactor, I think that the built website no longer gets copied over to docs/. I get the fully built website in _quarto/_site with freeze feature, but we also want it to be deployed in docs/, because that is where Github actions deploys from.

vincentarelbundock commented 4 months ago

Side note: we can't delete all files in docs/ before copying because it includes things like CNAME that github put there once but won't re-generate.

kylebutts commented 4 months ago

@vincentarelbundock That's the breaking change. You need to add this to you quarto_website.yml

project:
  output-dir: ../docs/

Also, the current code deletes everything except CNAME in docs/. That was what was happening before my PR too btw

vincentarelbundock commented 4 months ago

yep yep. I just didn't completely missed the boat on the whole conversation we had earlier.

Thanks!