fix docs build for the case where we are building docs for the root