Build the Olog service documentation

You can build the Olog service documentation by using a local copy using Pixi or a local installation of Python.

Option 2: Using Sphinx directly

Create a Python virtual environment where you install Sphinx and its dependencies:

# Navigate to the docs directory
cd docs

# Create a virtual environment
python -m venv .venv
# Enter the environment (for Bash, Zsh)
#
# NOTE: If you're using a shell different than Bash or Zsh,
# such as Windows' `cmd.exe` or PowerShell,
# see the official "How venvs work" documentation:
# https://docs.python.org/3/library/venv.html#how-venvs-work
source .venv/bin/activate

# Install from pyproject.toml (installs all dependencies)
pip install .

Then build the web version (make sure you’ve entered the Python virtual environment):

make clean html

The above creates a document tree starting with _build/html/index.html.