Just the HM Docs is a GitHub Pages template developed for the purpose of quickly deploying documentation for Human Made open source projects. It is a fork of the popular Just the Docs Jekyll theme, which provides a robust and thoroughly-tested foundation for your website. Just the HM Docs includes features such as:
Getting started with Just the HM Docs is simple.
_config.yml
file and the Gemfile
_config.yml
and README.md
with your project information. Be sure to update the url and baseurl if needed..md
Markdown files and add any additional content you need.Just the HM Docs requires no special Jekyll plugins and can run on GitHub Pages' standard Jekyll compiler. To setup a local development environment, clone your repository and follow the GitHub Docs on Testing your GitHub Pages site locally with Jekyll.
The theme is distributed as a Ruby gem so that it can be easily consumed by any Jekyll site. New versions can be published by anything with access to the gem manually, but there is also a GitHub Action set up to automate publishing to rubygems.org and the GitHub package repository.
The action only runs when triggered manually. To do so, run the "Publish Ruby Gem" action.
In order to push to rubygems.org, the action needs access to an auth token. The auth token can be set via Security / Secrets and variables / Actions
. To create a new token, an authorized gem owner will need to create a new one from the API Keys
setting area on rubygems.org. Once created, add the token with the name RUBYGEMS_AUTH_TOKEN
.
NOTE: The API key used needs to be accessible by machines without 2FA—otherwise the automated deployment will fail becuase it will be prompted for an OTP in a non-interactive environment. If the security tradeoff seems reasonable the MFA level for a rubygems.org account can be set to "UA and gem signin," which will prompt for 2FA on the website and with the gem signin
command, but not for gem push
, allowing the automated gem deploy action to work.
The theme is available as open source under the terms of the MIT License.