Developer documentation about all things Git-Mastery
This repository contains the source for the Git-Mastery developer docs site, built with Jekyll and the Just the Docs theme.
Install the following tools first:
-
Ruby 3.2.2
| Note: the installation commands below are for macOS using Homebrew only. Adjust as needed for your OS and package manager.
brew install rbenv ruby-build rbenv install 3.2.2 echo 'eval "$(rbenv init - zsh)"' >> ~/.zshrc source ~/.zshrc rbenv global 3.2.2 ruby -v
-
Bundler
gem install bundler
From the repository root:
-
Install dependencies:
bundle install
-
Start the local docs server:
bundle exec jekyll serve --livereload -
Open the site at:
http://127.0.0.1:4000/developers/
Note: this repository uses baseurl: "/developers", so the local path includes /developers/.
To generate a static build in _site/:
bundle exec jekyll build- Add or edit docs in
docs/. - Use frontmatter fields like
title,parent, andnav_orderso pages appear correctly in navigation. - Keep links and examples consistent with the current Git-Mastery workflows.
bundle: command not found: install Bundler withgem install bundler.- Shell still reports wrong Ruby version: run
rbenv versionto confirm 3.2.2 is active; if not, runrbenv global 3.2.2and restart the terminal. - Port
4000already in use: runbundle exec jekyll serve --port 4001. - Styling or content not updating: restart
jekyll serveand hard refresh your browser.