This repository contains the Gearworks SMP Wiki, built with MkDocs and automatically deployed to GitHub Pages.
This wiki is automatically built and deployed using GitHub Actions whenever changes are pushed to the main branch. The deployed wiki is available at wiki.gearworkssmp.com.
- When changes are pushed to the main branch, a GitHub Actions workflow is triggered
- The workflow builds the wiki using MkDocs with the Material theme
- The built site is deployed to GitHub Pages
- The custom domain (wiki.gearworkssmp.com) is configured via a CNAME file
The wiki is configured to use the custom domain wiki.gearworkssmp.com. To maintain this configuration:
- Ensure the
CNAMEfile in thedocs/directory containswiki.gearworkssmp.com - Make sure your DNS provider has the following records:
- An A record pointing to GitHub Pages IP addresses (185.199.108.153, 185.199.109.153, 185.199.110.153, 185.199.111.153)
- Or a CNAME record pointing to
gearworkssmp.github.io
This wiki uses MkDocs. For full documentation visit mkdocs.org.
python -m venv .venv # make the environment if needed
source ./.venv/bin/activate.fish # activate the environment
pip install mkdocs
pip install mkdocs-material
mkdocs serve- Start the live-reloading docs server.mkdocs build- Build the documentation site.mkdocs -h- Print help message and exit.
mkdocs.yml # The configuration file.
docs/
index.md # The documentation homepage.
CNAME # Custom domain configuration.
... # Other markdown pages, images and other files.
.github/
workflows/
build-deploy.yml # GitHub Actions workflow file.