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

jscheffl pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/airflow.git


The following commit(s) were added to refs/heads/main by this push:
     new 947c25d5e9d Bugfix some Doc urls in repo (#45007)
947c25d5e9d is described below

commit 947c25d5e9d7bdfaf82bccf5bca58bac8c38daed
Author: Jens Scheffler <[email protected]>
AuthorDate: Tue Dec 17 21:57:37 2024 +0100

    Bugfix some Doc urls in repo (#45007)
    
    * Fix pre-commit doc URL
    
    * Fix other broken URLs to GIT in docs
---
 dev/breeze/src/airflow_breeze/commands/ci_image_commands.py | 2 +-
 docs/docker-stack/README.md                                 | 2 +-
 docs/docker-stack/index.rst                                 | 2 +-
 scripts/ci/pre_commit/new_session_in_provide_session.py     | 2 +-
 4 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/dev/breeze/src/airflow_breeze/commands/ci_image_commands.py 
b/dev/breeze/src/airflow_breeze/commands/ci_image_commands.py
index 3c49e530fce..9ab3250fc2c 100644
--- a/dev/breeze/src/airflow_breeze/commands/ci_image_commands.py
+++ b/dev/breeze/src/airflow_breeze/commands/ci_image_commands.py
@@ -730,7 +730,7 @@ def should_we_run_the_build(build_ci_params: BuildCiParams) 
-> bool:
                     get_console().print(
                         f"[info]Please rebase your code to latest 
{build_ci_params.airflow_branch} "
                         "before continuing.[/]\nCheck this link to find out 
how "
-                        
"https://github.com/apache/airflow/blob/main/contributing-docs/11_working_with_git.rst\n";
+                        
"https://github.com/apache/airflow/blob/main/contributing-docs/10_working_with_git.rst\n";
                     )
                     get_console().print("[error]Exiting the process[/]\n")
                     sys.exit(1)
diff --git a/docs/docker-stack/README.md b/docs/docker-stack/README.md
index c3e798c264d..f787016de70 100644
--- a/docs/docker-stack/README.md
+++ b/docs/docker-stack/README.md
@@ -63,7 +63,7 @@ packages or even custom providers. You can learn how to do it 
in [Building the i
 
 The production images are build in DockerHub from released version and release 
candidates. There
 are also images published from branches but they are used mainly for 
development and testing purpose.
-See [Airflow Git 
Branching](https://github.com/apache/airflow/blob/main/contributing-docs/working-with-git#airflow-git-branches)
+See [Airflow Git 
Branching](https://github.com/apache/airflow/blob/main/contributing-docs/10_working_with_git.rst#airflow-git-branches)
 for details.
 
 ## Usage
diff --git a/docs/docker-stack/index.rst b/docs/docker-stack/index.rst
index b579d2e8c23..d540eddf622 100644
--- a/docs/docker-stack/index.rst
+++ b/docs/docker-stack/index.rst
@@ -80,7 +80,7 @@ packages or even custom providers. You can learn how to do it 
in :ref:`Building
 
 The production images are build in DockerHub from released version and release 
candidates. There
 are also images published from branches but they are used mainly for 
development and testing purpose.
-See `Airflow Git Branching 
<https://github.com/apache/airflow/blob/main/contributing-docs/working-with-git#airflow-git-branches>`_
+See `Airflow Git Branching 
<https://github.com/apache/airflow/blob/main/contributing-docs/10_working_with_git.rst#airflow-git-branches>`_
 for details.
 
 Fixing images at release time
diff --git a/scripts/ci/pre_commit/new_session_in_provide_session.py 
b/scripts/ci/pre_commit/new_session_in_provide_session.py
index b6ba24cccff..badef094489 100755
--- a/scripts/ci/pre_commit/new_session_in_provide_session.py
+++ b/scripts/ci/pre_commit/new_session_in_provide_session.py
@@ -119,7 +119,7 @@ def main(argv: list[str]) -> int:
         print("Only function decorated with @provide_session should use 
'session: Session = NEW_SESSION'.")
         print(
             "See: https://github.com/apache/airflow/blob/main/";
-            
"contributing-docs/creating_issues_and_pull_requests#database-session-handling"
+            "contributing-docs/05_pull_requests.rst#database-session-handling"
         )
     return len(errors)
 

Reply via email to