Generate API documentation in markdown from apidoc data