diff --git a/doc/make.py b/doc/make.py index abc31af14cfbe..3919b4d4c7f3c 100755 --- a/doc/make.py +++ b/doc/make.py @@ -130,7 +130,7 @@ def _sphinx_build(self, kind: str): >>> DocBuilder(num_jobs=4)._sphinx_build('html') """ if kind not in ("html", "latex", "linkcheck"): - raise ValueError(f"kind must be html or latex or linkcheck, not {kind}") + raise ValueError(f"kind must be html, latex or linkcheck, not {kind}") cmd = ["sphinx-build", "-b", kind] if self.num_jobs: