The API doc build takes a look a source Javascript files in the lib directory, and turns it into HTML output in the api directory. It uses Panino to perform the conversion.
For any questions on the build system, please see that repo.
In the root directory, just run:
make doc
In this directory, just run:
npm install
node build.js