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 2021/01/07 20:17:41 UTC

[GitHub] [airflow] mik-laj commented on a change in pull request #13547: Fixing broken documentation links in API exceptions

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



##########
File path: airflow/utils/docs.py
##########
@@ -27,7 +27,7 @@ def get_docs_url(page: Optional[str] = None) -> str:
             "http://apache-airflow-docs.s3-website.eu-central-1.amazonaws.com/docs/apache-airflow/latest/"
         )
     else:
-        result = f'https://airflow.apache.org/docs/{version.version}/'
+        result = f'https://airflow.apache.org/docs/apache-airflow/{version.version}/'

Review comment:
       It is not necessary. This feature is only used in Airflow core, so we can only support links to the core.




----------------------------------------------------------------
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