Website: Add API documentation.

Progress on #183.