Sources of the main mlr website including the blog post sources.
blogdown
and Hugo are used to render the site. Deployment is done via Netlify.
It is highly recommended to use RStudio for tasks in this repo.
It integrates very well with the live preview of blogdown
.
-
Add yourself as an author to https://github.com/mlr-org/mlr/wiki/Misc#mlr-developer-team-and-contributors-page and create an "author page" for the website (similar to the ones in
data/authors
). -
Create a new post in
content/docs/
. -
Put external images in
static/images/<name of your post>
. -
Run
git submodule update --init --recursive
from the repo root to clone the Hugo theme. -
Preview your post by running
blogdown::serve_site()
. -
Commit the Rmd and HTML file and possible external resources.
-
Open a Pull Request. You can preview the changes you made by clicking on "Details" of your opened PR on Github: