You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by GitBox <gi...@apache.org> on 2020/12/03 14:39:22 UTC

[GitHub] [airflow-site] mik-laj opened a new pull request #326: @mik-laj Update URL structure to support multiple packages

mik-laj opened a new pull request #326:
URL: https://github.com/apache/airflow-site/pull/326


   Hello,
   
   To support many documentation packages, we need to update our URL structure.
   Before:
   ```
   https://airflow.apache.org/docs/1.10.12/
   ````
   After:
   ```
   https://airflow.apache.org/docs/apache-airflow/1.10.12/
   ````
   


----------------------------------------------------------------
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:
users@infra.apache.org



[GitHub] [airflow-site] mik-laj merged pull request #326: Update URL structure to support multiple packages

Posted by GitBox <gi...@apache.org>.
mik-laj merged pull request #326:
URL: https://github.com/apache/airflow-site/pull/326


   


----------------------------------------------------------------
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:
users@infra.apache.org



[GitHub] [airflow-site] mik-laj commented on a change in pull request #326: @mik-laj Update URL structure to support multiple packages

Posted by GitBox <gi...@apache.org>.
mik-laj commented on a change in pull request #326:
URL: https://github.com/apache/airflow-site/pull/326#discussion_r535285812



##########
File path: landing-pages/site/static/.htaccess
##########
@@ -1,6 +1,8 @@
-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 ^/docs/(stable|1.10.10)/api(\.html)?$ "https://airflow.apache.org/docs/apache-airflow/$1/rest-api-ref"

Review comment:
       This is an important change, but unfortunately Github does not make it very clear.
   
   <img width="1440" alt="Screenshot 2020-12-03 at 15 40 20" src="https://user-images.githubusercontent.com/12058428/101042828-dffcc180-357d-11eb-87a6-68780fcc1a2f.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:
users@infra.apache.org