sourcedirectory contains:- the root
index.rstfile and other source*.rstfiles - and
conf.pyforSphinxconfiguration
- the root
docsdirectory contains:- the built website
- Create virtual environment:
python -m venv venv - Install the requirements with:
python -m pip install -r requirements.txt
- Check docstrings for errors:
export PYTHONPATH=$(pwd):$PYTHONPATH python tools/docstring_linter/check_docstrings.py
- Build the website with:
export PYTHONPATH=$(pwd):$PYTHONPATH python tools/docs_generator/build_documentation.py
Copy the built website from the build directory into the docs directory.
Add, commit and push the updated docs directory.
Head to the https://fipl-hse.github.io to check the deployment.