-
Notifications
You must be signed in to change notification settings - Fork 209
Automatically regenerate derived files #1570
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
Comments
I was actually just thinking about this and made a fork to see if I could get github to auto-generate this with GitHub Pages (https://cthoyt.com/OBOFoundry.github.io/) I think there are a lot of legacy configurations for old versions of jekyll that aren't compatible with the new kind. I think it would be quite nice for github to do most of the work for us, so I might take a crack at trying that first rather than reverse engineering the old stack This wouldn't completely remove the need for one more kind of operation for updating the underlying data. I'll give it some thought |
Some clarifications: To regenerate the files you need Make, Python 3.6+, and While you need Jekyll to run/test the site locally, you don't need it to regenerate the files. Jekyll 4.2.0 has been working for me. I forget exactly what problems Nico was having. |
My problem was that I didnt install the right ruby version; I had to install:
to get it to run! |
yup I also had issues with ruby 2.6.0 |
This has been solved for a while! |
The README explains that various merged artifacts must be periodically rebuilt and merged:
https://github.com/OBOFoundry/OBOFoundry.github.io#generation-of-downstream-artefacts
[Edit: You don't actually need Jekyll to regenerate the files.] Although @matentzn has had trouble getting the right Jekyll/Ruby version, I've found this process to be reliable: I check the results but never find major problems. If getting the right dependencies is a problem, we could use a Dockerfile #557.
As discussed in #1568, it would be nice to (at least try to) do this with GtHub Actions. Maybe after merging to
master
, or just whenontology/*
has changed?@cthoyt Do you want to take a crack at this?
The text was updated successfully, but these errors were encountered: