Add script to generate API docs and update readme with output