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 2021/01/09 12:27:46 UTC

[airflow] branch v1-10-stable updated: Update URL for docs (#13561)

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

kamilbregula pushed a commit to branch v1-10-stable
in repository https://gitbox.apache.org/repos/asf/airflow.git


The following commit(s) were added to refs/heads/v1-10-stable by this push:
     new 8ea0a38  Update URL for docs (#13561)
8ea0a38 is described below

commit 8ea0a38c4704f876d1a9c1ed84efdcd11d17dc88
Author: Kamil BreguĊ‚a <mi...@users.noreply.github.com>
AuthorDate: Sat Jan 9 13:27:33 2021 +0100

    Update URL for docs (#13561)
---
 airflow/www/app.py      | 4 ++--
 airflow/www_rbac/app.py | 4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/airflow/www/app.py b/airflow/www/app.py
index ccf7939..932dd4b 100644
--- a/airflow/www/app.py
+++ b/airflow/www/app.py
@@ -138,9 +138,9 @@ def create_app(config=None, testing=False):
             models.XCom, Session, name="XComs", category="Admin"))
 
         if "dev" in version.version:
-            airflow_doc_site = "https://airflow.readthedocs.io/en/latest"
+            airflow_doc_site = "https://s.apache.org/airflow-docs"
         else:
-            airflow_doc_site = 'https://airflow.apache.org/docs/{}'.format(version.version)
+            airflow_doc_site = 'https://airflow.apache.org/docs/apache-airflow/{}'.format(version.version)
 
         admin.add_link(base.MenuLink(
             name="Website",
diff --git a/airflow/www_rbac/app.py b/airflow/www_rbac/app.py
index d4a4f03..49ffaf6 100644
--- a/airflow/www_rbac/app.py
+++ b/airflow/www_rbac/app.py
@@ -158,9 +158,9 @@ def create_app(config=None, session=None, testing=False, app_name="Airflow"):
                                 category="Admin")
 
             if "dev" in version.version:
-                airflow_doc_site = "https://airflow.readthedocs.io/en/latest"
+                airflow_doc_site = "https://s.apache.org/airflow-docs"
             else:
-                airflow_doc_site = 'https://airflow.apache.org/docs/{}'.format(version.version)
+                airflow_doc_site = 'https://airflow.apache.org/docs/apache-airflow/{}'.format(version.version)
 
             appbuilder.add_link("Documentation",
                                 href=airflow_doc_site,