Flashlight Documentation

March 15, 2023 ยท View on GitHub

Building the Docs

To build the documentation, follow the steps below.

Setup

First, install Doxygen.

Install Sphinx, Breathe and the theme using the requirements.txt file in docs:

cd docs
pip install -r requirements.txt

Building

From docs, run:

doxygen
make html

If you run into issues rebuilding docs, run make clean before building again.

Viewing

After buildling, from the docs directory, run a local server to view artifacts:

python -m http.server <port> --directory build/html

Point your browser to http://localhost:<port> to view.