You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by di...@apache.org on 2020/04/14 14:43:49 UTC

[airflow-site] branch master updated: Redirect Airflow 1.10.10 API/Macros/CLI refs to new URLs (#264)

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

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


The following commit(s) were added to refs/heads/master by this push:
     new 0ed5de9  Redirect Airflow 1.10.10 API/Macros/CLI refs to new URLs (#264)
0ed5de9 is described below

commit 0ed5de9dd6405359f76cbcf5a658290cb96a4746
Author: Kaxil Naik <ka...@gmail.com>
AuthorDate: Tue Apr 14 15:43:40 2020 +0100

    Redirect Airflow 1.10.10 API/Macros/CLI refs to new URLs (#264)
---
 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"