doc: generate documentation of APIs, update README