Website to give an overview of the various EthereumJS projects and an
introduction to the ecosystem and the community.
Site is hosted at https://ethereumjs.github.io/ via GitHub Pages and built with the github-pages gem (Jekyll 3.x, custom layout + SCSS). Local builds should use Ruby 3.3.x to match the Pages environment — see Dependency versions.
You can update the site by editing the markdown in ./index.md (via PR), build will be triggered automatically on merge.
For information on repository metadata on GitHub pages see this article.
Custom CSS lives in ./assets/css/style.scss. Use Ruby Sass–compatible syntax only (lighten(), no @use / color.adjust() — GitHub Pages runs Jekyll 3 + Ruby Sass, not Dart Sass).
The website uses Font Awesome v4.7.x for some icons. To update the library
download the latest release from the website and replace the un-versioned font-awesome folder in the
assets/ folder.
In scss/_variables.scss update the $fa-font-path to point to the ../font-awesome/fonts directory.
Use Ruby 3.3.x — the same major/minor series as GitHub Pages. Do not use macOS system Ruby (2.6) or Ruby 4; both will cause gem or Sass mismatches.
.ruby-version pins 3.3.7.
brew install rbenv ruby-build
rbenv install 3.3.7
cd ethereumjs.github.io # picks up .ruby-version
gem install bundlerbrew install ruby@3.3
export PATH="/opt/homebrew/opt/ruby@3.3/bin:$PATH" # Intel: /usr/local/opt/ruby@3.3/bin
ruby --version # should show 3.3.x
gem install bundler./bin/setup
# or: bundle install
bundle exec jekyll serveCompare your local gem set with GitHub Pages:
bundle exec github-pages versionsSee also GitHub's Jekyll local setup guide.