The project uses virtual environments and pip to manage dependencies.
Create and/or activate virtual environment in your project directory:
python -m venv .venv
# On Linux call this:
source ./.venv/bin/activate
# On Windows call this:
.\.venv\Scripts\Activate.ps1Install the necessary dependencies in your virtual environment:
pip install -U -r .\requirements.txtIn your virtual environment call:
make clean htmlThis will re-create the HTML documentation under build/html.
- Delete the complete
docsdirectory from the repository root. - Copy everything in
build/htmlinto repository root and renamehtmltodocs. - Check Git changes. When necessary, add new files and remove files that no longer exist.
- Push your changes.
- Merge into main branch. Only then is the Github pages deployment updated.
Deactivate virtual environment in your project directory:
deactivate