We have an automated PR https://github.com/python-gitlab/python-gitlab/pull/2153 to update to Sphinx v5. But as @nejch says, "This breaks our API reference docs, need to check the breaking changes."