-
Notifications
You must be signed in to change notification settings - Fork 122
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
[WIP] Build: update travis ruby version #1438
Conversation
6013c31
to
4de6cb6
Compare
4de6cb6
to
245be6f
Compare
I tested this and had some problem with nokogiri, which seems like it may have been a local issue. I then started building on top of this to upgrade to the latest Jekyll version. Upon getting that working (with some errors that still needed to be resolved), I discovered it was a major performance regression in the I'm currently considering looking at an alternative static site generator (Hugo), but if anyone has an opinion about the future of rendering the site, now is the time to voice it! |
This is a bit out of my wheelhouse, so no strong opinions on it. I successfully leveraged using Hugo for my own website with surprisingly little effort, but I cannot say anything about how easy it would be to migrate a large project like the Optech site to Hugo. |
I did a few hours of research and PoC-level testing and part of it does look like a pain---but I also researched (more briefly) several other static site generators and none of them looked to be both well-maintained and easier to convert from Jekyll than Hugo. I'm currently thinking of the following approach:
This should let us transition slowly and over an extended period of time. Eventually one day we'll have everything transitioned over to hugo and we can make the change permanent. |
Ive heard good things about hugo, but have not used it personally. Happy to test if there is such an intermediate script. I assume none of these worked "magically" in terms of conversion since we have a bunch of custom adds: |
@bitschmidty I didn't try any of those scripts; I just assumed they wouldn't work given our custom plugins. I've been working on the conversion a few hours a week and I'm fairly pleased so far. I've ported over our auto-anchor plugin, which seemed like it would be the hardest bit, and now I'm just playing wack-a-inconsistency with other differences between Jekyll and Hugo. For all the English-language newsletters and topic pages, plus a few pages in Spanish for testing, here's the current compile time stats:
In other words, using parallel compiling, the primary site content compiles in 1.3 seconds. I expect that to slow down when we add in the translations and the long transcript pages, but it should still be significantly faster than Jekyll. I'll keep working on it and hope to have a preview PR up in a week or two so we can begin discussing some related changes. |
Updates travis' ruby version.
Fixes #1437
NOTE: We use ruby 2.6.4 throughout the setup and build process separately from travis. I may make additional commits to update those to 3.2.2.