Essential guide to mastering the documentation process for Gaffer. This article outlines step-by-step instructions on building and managing the latest Gaffer documentation using MkDocs and the Material theme.
Dive in to learn how to efficiently create, serve, and maintain your project’s documentation with ease.
This repository contains all the documentation for Gaffer, which is published here.
For instructions for building Gaffer’s v1 documentation, see the v1docs branch. The current Gaffer docs are built using MkDocs with the Material theme.
We use Mike for documentation versioning. Running mike
is handled by GitHub Actions, so it isn’t something most contributors will need to use unless you make changes to that part of the project.
You need Python (version 3.8 or newer) installed to use MkDocs.
You need MkDocs and the Material theme to generate the documentation. The versions we are using can be installed from the requirements.txt
:
pip install -r requirements.txt
To generate static documentation files and place them into the default site
directory:
mkdocs build
Docs can be build and served locally (on localhost:8000
) by using:
mkdocs serve
This automatically updates and refreshes when local changes are made. Although it might take a few seconds due to the amount of content.
Introduction In cybersecurity and IT operations, logging fundamentals form the backbone of monitoring, forensics, and…
What is Networking? Networking brings together devices like computers, servers, routers, and switches so they…
Introduction In the world of Open Source Intelligence (OSINT), anonymity and operational security (OPSEC) are…
Introduction As cyber threats grow more sophisticated, organizations need more than just firewalls and antivirus…
Introduction When it comes to cybersecurity and ethical hacking, one of the most effective ways…
Introduction In the world of cybersecurity, knowledge is power. One of the most powerful skillsets…