Skip to content

Commit

Permalink
Bugfix some Doc urls in repo (apache#45007)
Browse files Browse the repository at this point in the history
* Fix pre-commit doc URL

* Fix other broken URLs to GIT in docs
  • Loading branch information
jscheffl authored Dec 17, 2024
1 parent fcdaa7d commit 947c25d
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
2 changes: 1 addition & 1 deletion docs/docker-stack/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion docs/docker-stack/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion scripts/ci/pre_commit/new_session_in_provide_session.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Expand Down

0 comments on commit 947c25d

Please sign in to comment.