From 516e09617b265f662039e79eccb46e6b3804d540 Mon Sep 17 00:00:00 2001 From: Dorukyum Date: Sun, 27 Feb 2022 19:47:11 +0300 Subject: [PATCH] Fix branch config --- docs/conf.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/conf.py b/docs/conf.py index 83f9b8bcc0..fe4507668b 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -100,7 +100,7 @@ release = version # This assumes a tag is available for final releases -branch = "master" if version.endswith("a") or version.endswith("b") else f"v{version}" +branch = "master" if "a" in version or "b" in version else f"v{version}" # The language for content autogenerated by Sphinx. Refer to documentation # for a list of supported languages.