This repository contains the source files for the 2i2c Team Compass. For more information, see our Team Compass landing page.
The Team Compass is built with the Sphinx documentation engine.
The easiest way to build the documentation in this repository is to use the nox
automation tool, a tool for quickly building environments and running commands within them.
This ensures that your environment has all the dependencies needed to build the documentation.
To do so, follow these steps:
-
Install
nox
$ pip install nox
-
Build the documentation:
$ nox -s docs
This should create a local environment in a .nox
folder, build the documentation (as specified in the noxfile.py
configuration), and the output will be in _build/dirhtml
.
To build live documentation that updates when you update local files, run the following command:
$ nox -s docs-live
This repo requires access to organizational-level secrets that cannot be access via forked PR. Therefore the GH action test-docs.yaml
will fail unless you push a non-forked PR.