Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Avoid clashes when rendering the quarto web and pkgdown #12

Open
jmaspons opened this issue Dec 1, 2023 · 1 comment
Open

Avoid clashes when rendering the quarto web and pkgdown #12

jmaspons opened this issue Dec 1, 2023 · 1 comment
Labels
help wanted Extra attention is needed

Comments

@jmaspons
Copy link
Member

jmaspons commented Dec 1, 2023

This repo deploys a quarto web page + the pkgdown docs. The web is rendered daily with the results from queries to OpenStreetMap. Quarto delete all the files from pkgdown. Is there a way to avoid this? I would like to reduce the computations (= less CO2)

Current implementation:

Added output-dir: web to render the web in web folder instead of the root of the repository. It seems that it has no effect and all the files are deleted every time that the web is rendered (once a day).

output-dir: web

Render pkgdown at doc folder works but as quarto delete all the files, it has to be recreated every time that the web is refreshed

I would like to avoid to rerender pkgdown every day when there are no changes in the code. Perhaps it lacks a parameter in the gh action to render and publish the quarto website to specify where to render the page as in pkgdown

@jmaspons jmaspons added the help wanted Extra attention is needed label Dec 1, 2023
@jmaspons
Copy link
Member Author

jmaspons commented Dec 5, 2023

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

1 participant