openproblems-bio / website

Website hosted at https://openproblems.bio
Creative Commons Attribution 4.0 International
3 stars 7 forks source link

add evaluate_code render profile #214

Closed KaiWaldrant closed 1 year ago

KaiWaldrant commented 1 year ago

Describe your changes

For some of the pages, only render executable code when the 'evaluate_code' profile is active.

Issue ticket number and link

Closes #207

Checklist before requesting a review

github-actions[bot] commented 1 year ago

Deploy: success

KaiWaldrant commented 1 year ago

The arg -- profile evaluate_codedoesn't seem to work when you already rendered or previewed the site. You need to remove _site and _freeze directories. Added this instruction to the README

KaiWaldrant commented 1 year ago

LGTM if the checks are ok.