This repo uses MkDocs with Material theme to build the website version of documentation.
Documentation can be build locally through a rather simple process described below.
Important
Building documentation website is entirely optional, all docs are made to work locally as regular markdown files connected through relative links. Building it as a website does, however, provide a nicer experience.
python3 can be downloaded from the official website or using a package manager:
sudo apt update &&
sudo apt install python3To install necessary dependencies run:
pip install mkdocs-material &&
pip install mkdocs-material[imaging] &&
pip install markdown-callouts &&
pip install mkdocs-awesome-navNote
When building for public deployment, social preview plugin also requires Cairo Graphics libraries. These libraries come preinstalled on Github Actions (Ubuntu), otherwise they can be manually downloaded with apt.
To build documentation locally navigate to the project directory and run:
mkdocs serveThe link to open local documentation in the browser will appear in the terminal after the build.