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

Allow scheduling releases #84

Merged
merged 9 commits into from
Jun 3, 2024
Merged

Allow scheduling releases #84

merged 9 commits into from
Jun 3, 2024

Conversation

milanmlft
Copy link

@milanmlft milanmlft commented May 31, 2024

It is now possible to set release dates for episodes. Episodes with a release date occuring in the future will not be rendered.

The release dates in the lessons config.yaml should be formatted like this:

...
releases:
    "2024-05-01": introduction.Rmd
    "2025-05-01":
        - not-yet-released.Rmd
        - not-yet-released-2.Rmd

with the dates in YYYY-MM-DD format.

You can see an example of this here: https://milanmlft.github.io/sandpaper-test-releases/

It is possible to have the same release date for multiple episodes. If there is no release date for an episode, it will always be rendered.

Fixes #83

To do

Modifying `get_resources_list()` results in all kinds of weird
behaviour. Better to leave it alone.
@milanmlft milanmlft marked this pull request as ready for review June 3, 2024 11:22
@milanmlft milanmlft merged commit 85805e3 into l2d Jun 3, 2024
2 checks passed
@milanmlft milanmlft deleted the milanmlft/scheduled-releases branch June 3, 2024 11:47
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

Successfully merging this pull request may close these issues.

Allow scheduled releases
2 participants