add api document generation script
build api document while CI
Merge branch 'api-doc'