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 18:51:13 UTC

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

SamWheating commented on a change in pull request #13547:
URL: https://github.com/apache/airflow/pull/13547#discussion_r553517349



##########
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:
       Maybe its worth updating this function to get URLs for different sections of the documentation for example https://airflow.apache.org/docs/apache-airflow-providers-google?
   
   But also this isn't used in many places. 




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