Skip to content

Commit

Permalink
update readme (#147)
Browse files Browse the repository at this point in the history
  • Loading branch information
sebffischer authored Dec 5, 2023
1 parent 70b3dcd commit c7b08ee
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 8 deletions.
4 changes: 4 additions & 0 deletions README.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,10 @@ If you write a series, add it to the `series` directory.
1. Use only one sentence for the description and start with a verb.
Do not repeat the title.
See the previously published articles for examples.
1. Render the post with `quarto render mlr-org/gallery/{category}/{post}/index.qmd`.

Because the gallery posts are not rendered in the CI, you need to ensure that the rendered file is contained in the
`mlr-org/_freeze` subdirectory.

If your post needs a new package or package version:

Expand Down
20 changes: 12 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,12 @@

# Project Structure

- `mlr3website` - The root directory contains the `mlr3website` R
package.
- `mlr-org/` - Quarto project.
- `mlr-org/gallery` - Gallery posts.
- `.github/workflows` Contains workflows to build the website and
render gallery posts
- `mlr3website` - The root directory contains the `mlr3website` R
package.
- `mlr-org/` - Quarto project.
- `mlr-org/gallery` - Gallery posts.
- `.github/workflows` Contains workflows to build the website and render
gallery posts

## Setup

Expand All @@ -23,8 +23,6 @@ the website with the same package versions.
all required packages.
3. Run the following command from your terminal to preview the website:

<!-- end list -->

``` bash
quarto preview mlr-org/
```
Expand Down Expand Up @@ -63,6 +61,12 @@ series, add it to the `series` directory.
3. Use only one sentence for the description and start with a verb. Do
not repeat the title. See the previously published articles for
examples.
4. Render the post with
`quarto render mlr-org/gallery/{category}/{post}/index.qmd`.

Because the gallery posts are not rendered in the CI, you need to ensure
that the rendered file is contained in the `mlr-org/_freeze`
subdirectory.

If your post needs a new package or package version:

Expand Down

0 comments on commit c7b08ee

Please sign in to comment.