This is an automated email from the ASF dual-hosted git repository. kaxilnaik pushed a commit to branch redirect-new-urls in repository https://gitbox.apache.org/repos/asf/airflow-site.git
commit 711a17a87af49f4677f64c0407779715344f3284 Author: Kaxil Naik <kaxiln...@gmail.com> AuthorDate: Tue Apr 14 14:33:43 2020 +0100 Redirect Airflow 1.10.10 API/Macros/CLI refs to new URLs --- landing-pages/site/static/.htaccess | 2 ++ 1 file changed, 2 insertions(+) diff --git a/landing-pages/site/static/.htaccess b/landing-pages/site/static/.htaccess index b2775b8..db35686 100644 --- a/landing-pages/site/static/.htaccess +++ b/landing-pages/site/static/.htaccess @@ -1,3 +1,5 @@ +RedirectMatch Permanent ^/docs/(stable|1.10.10)/api(\.html)?$ "https://airflow.apache.org/docs/$1/rest-api-ref" +RedirectMatch Permanent ^/docs/(stable|1.10.10)/(cli|macros)(\.html)?$ "https://airflow.apache.org/docs/$1/$2-ref" RedirectMatch Permanent ^/((_api|_images|_modules|_sources|_static|howto)/.*)$ "https://airflow.apache.org/docs/stable/$1" RedirectMatch Permanent ^/((1.10.1|1.10.2|1.10.3|1.10.4|1.10.5|1.10.6|1.10.7|1.10.8|1.10.9|1.10.10)/.*)$ "https://airflow.apache.org/docs/$1" RedirectMatch Permanent ^/((api|changelog|cli|concepts|errors|faq|genindex|http-routingtable|installation|integration|kubernetes|license|lineage|macros|metrics|plugins|privacy_notice|profiling|project|py-modindex|scheduler|search|security|start|timezone|tutorial|ui)(\.html)?)$ "https://airflow.apache.org/docs/stable/$1"