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

Consider migrating to Jekyll for easy maintenance #5

Open
RaoOfPhysics opened this Issue Jun 3, 2018 · 3 comments

Comments

Projects
None yet
2 participants
@RaoOfPhysics
Contributor

RaoOfPhysics commented Jun 3, 2018

Hey @Protohedgehog,

I'm guessing you used Rmarkdown to build the website using these instructions? http://nickstrayer.me/RMarkdown_Sites_tutorial/

Perhaps you would consider migrating the website to Jekyll instead, given that it works closely with GitHub pages: https://help.github.com/articles/using-jekyll-as-a-static-site-generator-with-github-pages/

It's really easy to set up -- I'm happy to help! -- and you don't need any special software on your end to work with it. If you do want to test the website before you push it to GitHub, you can install Jekyll locally, but in theory you can work directly (and only!) with .md files for all your content. Jekyll also simplifies any changes people want to make to your website, as they can edit the Markdown files straight in GitHub and you can merge it without anyone having to run Rmarkdown::render_site() from R.

Just a thought. Let me know if you think it's worth doing and if you would like my help. :)

@Protohedgehog

This comment has been minimized.

Contributor

Protohedgehog commented Jun 4, 2018

Yep, and also from here: https://gupsych.github.io/acadweb/project.html

What would the benefits of migrating the website be..?

@RaoOfPhysics

This comment has been minimized.

Contributor

RaoOfPhysics commented Jun 4, 2018

You don't change any HTML files directly, you merely edit the .md files and Jekyll at GitHub's end takes care of converting it to HTML. So, the overhead for contributors is low. For the PR I made, for example, there would only be one change to the footer file alone. You get a cleaner commit history as well.

@Protohedgehog

This comment has been minimized.

Contributor

Protohedgehog commented Jun 4, 2018

Ah, this is what I've been doing anyway, I think, simply in RStudio. Seems to be working okay.. :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment