The source code for the pyOpenMS documentation lies here. We use sphinx to build documentation.
Preparation
Install Sphinx (which is a Python package) and some of its modules/plugins. We recommend doing this in a python venv.
python -m venv /path/to/myenv
# activate it, e.g.
source <venv>/bin/activate
Once the environment is active, you can install all required python packages using
cd <pyOpenMS_dir>/docs
pip install -r requirements.txt
To build the docs run the line below (works on all operating systems), but make sure that your working dir is <pyOpenMS_dir>/docs
(see above):
make html
and check validity of links using
make linkcheck