This is an automated email from the ASF dual-hosted git repository.

kaxilnaik pushed a commit to branch asf-site
in repository https://gitbox.apache.org/repos/asf/airflow-site.git

commit b1cbe42747f8af8bcf6cefc4dec0fc6607055569
Author: Kaxil Naik <[email protected]>
AuthorDate: Tue Apr 14 13:54:59 2020 +0100

    Redirect API/Macros/CLI refs to new URLs
---
 .htaccess | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/.htaccess b/.htaccess
index b2775b8..28ff3df 100644
--- a/.htaccess
+++ b/.htaccess
@@ -1,4 +1,7 @@
+RedirectMatch Permanent ^/(/docs/(stable|1.10.10)/(cli|macros)/.*)$ 
"https://airflow.apache.org/docs/$1/$2-ref";
+RedirectMatch Permanent ^/(/docs/(stable|1.10.10)/api(\.html)?)$ 
"https://airflow.apache.org/docs/$1/rest-api-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";
 Redirect Permanent /objects.inv 
https://airflow.apache.org/docs/stable/objects.inv
+

Reply via email to