source
directory contains:- the root
index.rst
file and other source*.rst
files - and
conf.py
forSphinx
configuration
- the root
docs
directory 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.