From 1e49b4379bf22b9a8973a1db58d7cc36fb49eb54 Mon Sep 17 00:00:00 2001 From: Min RK Date: Wed, 19 Apr 2023 13:37:17 +0200 Subject: [PATCH] set rediraffe auto redirect percentage to 80% --- docs/source/conf.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/docs/source/conf.py b/docs/source/conf.py index a236bd4e..6607e6ba 100644 --- a/docs/source/conf.py +++ b/docs/source/conf.py @@ -237,6 +237,10 @@ ogp_use_first_image = True # rediraffe_branch = os.environ.get("REDIRAFFE_BRANCH", "main") rediraffe_redirects = "redirects.txt" + +# allow 80% match for autogenerated redirects +rediraffe_auto_redirect_perc = 80 + # rediraffe_redirects = { # "old-file": "new-folder/new-file-name", # }