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

Upgrade to Jekyll 4 #411

Closed
arthurattwell opened this issue Sep 12, 2019 · 2 comments
Closed

Upgrade to Jekyll 4 #411

arthurattwell opened this issue Sep 12, 2019 · 2 comments

Comments

@arthurattwell
Copy link
Member

Jekyll 4's build times are much faster than v3, which is a major reason to switch. In early testing, the Electric Book template doesn't work with Jekyll 4 possibly because, it seems, some of our variables that define paths in _includes/metadata aren't giving correct values. For instance, some pages' links to JS and CSS files are building incorrectly. This may be a result of changes to the way paths are handled in Jekyll, or the way templates are now rendered.

So we need to do some thorough testing and make fixes, and support for Jekyll 4 will require a new release. The Jekyll upgrade guide should be useful.

@arthurattwell
Copy link
Member Author

Further testing suggests that the latest EBT works fine with Jekyll 4.2 without any further changes. Either something changed in Jekyll or the EB template since Jekyll 4, or my early testing was faulty.

Note that GitHub Pages still only supports Jekyll 3.9. So our default will remain the github-pages gem, and by implication, for now, Jekyll 3.9. Users who don't need GitHub Pages can set their own Jekyll version in Gemfile.

@arthurattwell
Copy link
Member Author

PS Our earlier issues might have been caused by a caching problem in Jekyll 4.0 which was subsequently fixed in jekyll/jekyll#7967.

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

No branches or pull requests

1 participant