Skip to content

tb06904/gaffer-doc

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

87 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Gaffer Doc

This repository contains all the documentation for Gaffer, which is published here.

Building the documentation

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.

Prerequisites

Python

You need Python (version 3.8 or newer) installed to use MkDocs.

MkDocs dependencies

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

Build the documentation site

To generate static documentation files and place them into the default site directory:

mkdocs build

Build and serve the documentation site (recommended)

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.