Fix the api docs build