The documentation is written in ReStructured Text.
In the project root, run
composer docs
This will generate the documentation into the docs/output subdirectory.
To browse the documentation, you need to run a webserver:
cd docs/output
php -S localhost:8000
Now the documentation is available at http://localhost:8000.