Swig used to use html files for documentation. It moved to sphinx and rst because handcrafted html files are harder to maintain.
Here is how to setup environment and build docs:
sudo apt-get install python3 python3-pip
pip3 install -r requirements.txt
make html
build/html/index.html
in a browser to browse docsYou might have to make clean
if there are issues with generated html.
Sphinx is fairly simple system to use. It uses a markup called restructured text (rst) to write docs. You can read the following tutorials to get started with rst and sphinx: