improvements to api doc provider