Also generate the documentation for the direct api.