mik-laj commented on a change in pull request #362:
URL: https://github.com/apache/airflow-site/pull/362#discussion_r553839861



##########
File path: landing-pages/site/static/.htaccess
##########
@@ -1,9 +1,9 @@
 RedirectMatch Permanent ^/docs/(stable|1.10.10)/api(\.html)?$ 
"https://airflow.apache.org/docs/apache-airflow/$1/rest-api-ref";
 RedirectMatch Permanent ^/docs/(stable|1.10.10)/(cli|macros)(\.html)?$ 
"https://airflow.apache.org/docs/apache-airflow/$1/$2-ref";
 RedirectMatch Permanent ^/((_api|_images|_modules|_sources|_static|howto)/.*)$ 
"https://airflow.apache.org/docs/apache-airflow/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/apache-airflow/$1";

Review comment:
       I don't think I need redirection for all files for 1.10.14 and 2.0.0 
releases. We only need one redirection of one address for Airflow 2.0. See: 
   https://github.com/apache/airflow-site/pull/362/files#r553838344
   
   As for Airflow 1.10.14, we introduced a new link structure before this 
version was released.
   ![Screenshot 2021-01-08 at 10 40 
20](https://user-images.githubusercontent.com/12058428/104000075-07a70100-519e-11eb-8a90-811e36eef2ee.png)
   




----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to