This repository contains the source files for the TAK.NZ documentation, published at docs.tak.nz.
The site is built using MkDocs and the Material for MkDocs theme.
To run the documentation server locally, you will need Python installed on your machine.
It is generally a good idea to set up a virtual environment for the project dependencies, though you can install them globally if you prefer.
python3 -m venv .venv
source .venv/bin/activate
pip install -r requirements.txtStart the local development server with:
mkdocs serveThis spins up a server at http://127.0.0.1:8000. The server supports hot-reloading, so any changes you save to the markdown files automatically refresh the page in your browser.
All documentation content is located in the docs/ directory as standard Markdown files.
If you add a new page, update the nav section in mkdocs.yml so it appears in the site navigation.
mkdocs.yml- main configuration file for the siterequirements.txt- Python dependencies for the docs site, including MkDocs pluginsdocs/- markdown source filesdocs/assets/- images, logos, and custom stylesheets.github/workflows/- CI build check and GitHub Pages deployment
To generate the static HTML files for deployment:
mkdocs buildThe output is generated in the site/ directory.
Pushes to main automatically build and deploy the site to GitHub Pages via .github/workflows/deploy.yml, publishing to the custom domain configured in CNAME (docs.tak.nz).
Pull requests are validated with a strict build check via .github/workflows/pr-preview.yml.
TAK.NZ is distributed under AGPL-3.0-only. See LICENSE for details.