You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by ka...@apache.org on 2020/04/14 12:55:14 UTC
[airflow-site] branch asf-site updated: Redirect API/Macros/CLI
refs to new URLs
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
The following commit(s) were added to refs/heads/asf-site by this push:
new de2f5c6 Redirect API/Macros/CLI refs to new URLs
de2f5c6 is described below
commit de2f5c6baa5acc337595054311ad263f0e55cdda
Author: Kaxil Naik <ka...@gmail.com>
AuthorDate: Tue Apr 14 13:54:59 2020 +0100
Redirect API/Macros/CLI refs to new URLs
---
.htaccess | 1 +
1 file changed, 1 insertion(+)
diff --git a/.htaccess b/.htaccess
index b2775b8..c40ff0e 100644
--- a/.htaccess
+++ b/.htaccess
@@ -1,3 +1,4 @@
+RedirectMatch Permanent ^/(.*/(api|macros|cli)/.*)$ "https://airflow.apache.org/docs/stable/$1-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"