Repository navigation
Upgrade to Ruby 3.4 and Middleman 4.6 - #68
Merged
Merged
Conversation
Ruby 2.7 is end-of-life, and the gems were pinned to versions that do not install on current Ruby. Upstream slatedocs/slate is archived and only ever supported up to Ruby 3.2, so this updates the toolchain directly instead of merging upstream. - Bump Ruby to 3.4.1, matching App and Mobile-Expensify - Bump Middleman to 4.6, Rouge to 4, Redcarpet to 3.6, Nokogiri to 1.18 - Drop the deprecated Ruby Sass gem; SassC compiles the stylesheets - Add arm64-darwin and Linux platforms to Gemfile.lock so Nokogiri installs from prebuilt gems - Let Sprockets handle JavaScript only. Middleman 4.6 needs Rack 3, which forces Sprockets 4, and Sprockets 4 passed the SCSS through uncompiled. Middleman's own Sass renderer compiles it instead. - Update the Dockerfile base image to ruby:3.4-slim - Remove the unused Vagrantfile, which only supported VirtualBox on Intel Macs The generated HTML matches the docs published in Integration-Server, apart from extra rules in the inline Rouge theme. Full-page screenshots of both pages show no pixel differences on desktop or phone widths.
yuwenmemon
approved these changes
Oct 28, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Our repo is way behind on the upstream, but getting it in sync would require rewriting a lot of our custom style code, which is not a priority right now.
This updates the ruby and middleman dependency versions instead, to avoid relying on EOL versions and getting errors when you want to rebuild the docs.