tree: de0b3dfd4305dbe15b87f7b08d7844e61b9d456e [path history] [tgz]
  1. source/
  2. docdiffer.sh
  3. import.sh
  4. make.bat
  5. Makefile
  6. post_process.py
  7. README.md
  8. requirements.txt
SphinxDocs/README.md

Swig Documentation

Swig used to use html files for documentation. It moved to sphinx and rst because handcrafted html files are harder to maintain.

How to build docs

Here is how to setup environment and build docs:

  • Install python3: sudo apt-get install python3 python3-pip
  • Install dependencies: pip3 install -r requirements.txt
  • Build html: make html
  • Open build/html/index.html in a browser to browse docs

You might have to make clean if there are issues with generated html.

How to write docs

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: