Open HenrikBengtsson opened 2 years ago
Currently, the page generation of module repositories is done "live", i.e. the script calls spider ... when it renders the page;
spider ...
https://github.com/UCSF-CBI/c4/blob/b8875b004adc918c7c28f7f6db5d99b923c32be4/docs/software/R/lmod.R#L52-L59
This prevents us from rendering the page outside of the cluster, e.g. on a local notebook or on GitHub Pages.
To fix this, we can:
Remaining task:
Issue
Currently, the page generation of module repositories is done "live", i.e. the script calls
spider ...
when it renders the page;https://github.com/UCSF-CBI/c4/blob/b8875b004adc918c7c28f7f6db5d99b923c32be4/docs/software/R/lmod.R#L52-L59
This prevents us from rendering the page outside of the cluster, e.g. on a local notebook or on GitHub Pages.
Suggestions
To fix this, we can:
spider ...
output to file, e.g. via a cronjob and commit to the repo