mirror of
https://pagure.io/fedora-infra/ansible.git
synced 2026-03-20 03:57:02 +08:00
This commit standardizes the regex redirection used for all Fedora Docs sites where a language code is involved in the original site and the redirected site. This new regex pattern matches anything between the slashes where the language code for the Fedora Docs site appears. This allows for greater flexibility of anything that may appear now or in the future for the language codes, including some that use two letters and others that use four letters. It makes the redirect consistent across all Fedora Docs redirects, in the general aim of promoting a common best practice for Fedora Docs redirects for old site names to new ones. CC: @pbokoc @pboy Signed-off-by: Justin Wheeler <jwheel@redhat.com>