This repository contains deployment infrastructure and documentation for a federation of JupyterHubs that 2i2c manages for various communities.
See the infrastructure documentation for more information.
The documentation is built with the MyST Document Engine.
Configuration lives in docs/myst.yml and the table of contents in docs/toc.yml.
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 docs/_build/html.
To start a live server that updates when you change local files:
$ nox -s docs:liveIf you wish to build the documentation yourself, install the Python dependencies (MyST installs its own Node.js), then run it from the docs/ folder:
pip install -r docs/requirements.txt
cd docs
python -m helper_programs.hub_info_table # generates the hub tables
myst start # or `myst build --html`This is the same set of steps that Read the Docs runs (see .readthedocs.yaml).