add API documentation build with 'make doc'