use JSDoc 3, generate API docs during build