First, please have Conda installed on your computer. If it's not installed, please install Miniforge3, which includes Conda and a conda-forge based Python environment. You can install Miniforge3 using the following command:
wget "https://github.com/conda-forge/miniforge/releases/latest/download/Miniforge3-$(uname)-$(uname -m).sh"
bash Miniforge3-$(uname)-$(uname -m).sh
rm Miniforge3-$(uname)-$(uname -m).shClose and reopen your shell, and run:
# Prevent Conda from polluting your environment when you're not working on Conda-managed projects.
conda config --set auto_activate_base falseNow, you can use Conda to install the dependencies.
mamba env create -f environment.yml
mamba activate NewDocumentationIf you modify environment.yml, please run
mamba env update -f environment.ymlOccassionally, you should update all the packages to the latest versions:
mamba activate NewDocumentation
mamba update --allTo make the docs in HTML format, run:
make htmlThen you can read it in your browser:
firefox build/html/index.htmlThere are other output formats, but they might not work.