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

automatically figure out where static site gens (rmarkdown etc) write to #52

Open
maxheld83 opened this issue Feb 10, 2019 · 3 comments
Assignees
Milestone

Comments

@maxheld83
Copy link
Owner

usually _site, but could be anything. Would be good to figure this out programmatically, without pestering the user.

I just can't think of an elegant way to do this right now.

@maxheld83 maxheld83 self-assigned this Feb 14, 2019
@maxheld83
Copy link
Owner Author

maybe rmarkdown has figured this out already, or can somehow be coaxed into returning the path on execution.

@VerenaHeld
Copy link
Collaborator

VerenaHeld commented Feb 15, 2019

Execute the rmarkdown::render_site function from within the directory containing your files to build _site, a directory of files ready to deploy as a standalone static website.
https://rmarkdown.rstudio.com/lesson-13.html

The generated HTML files and any supporting files (e.g., CSS and JavaScript) are copied into an output directory (_site by default).
https://bookdown.org/yihui/rmarkdown/rmarkdown-site.html

@maxheld83
Copy link
Owner Author

this should be a lot easier now that github actions support input and outputs

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants