Add console script to generate API documentation