This is an automated email from the ASF dual-hosted git repository.
github-bot pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/datafusion.git
The following commit(s) were added to refs/heads/main by this push:
new a257c29c26 add redirect for old upgrading.html URL to fix broken
changelog links (#20582)
a257c29c26 is described below
commit a257c29c26c05e44e5e36111ed6bcef2e7095d9e
Author: mishop-15 <[email protected]>
AuthorDate: Fri Feb 27 02:53:26 2026 +0530
add redirect for old upgrading.html URL to fix broken changelog links
(#20582)
## Which issue does this PR close?
- Closes #20572
## Rationale for this change
When upgrade guides were split into separate pages (#20183), the old
`upgrading.html` URL broke. All changelog files still reference this old
URL, causing 404 errors for users.
## What changes are included in this PR?
Added a redirect in `docs/source/conf.py` using the existing
`sphinx_reredirects` extension to redirect
`library-user-guide/upgrading.html` to
`library-user-guide/upgrading/index.html`.
This preserves all existing changelog links without needing to update
historical files.
## Are these changes tested?
Tested locally - the redirect works correctly, including with anchor
links (e.g., `upgrading.html#datafusion-46-0-0`).
## Are there any user-facing changes?
Yes - users clicking old changelog links will now be redirected to the
correct page instead of getting a 404.
---
docs/source/conf.py | 1 +
1 file changed, 1 insertion(+)
diff --git a/docs/source/conf.py b/docs/source/conf.py
index 83d76f08ef..03dcfb5bfa 100644
--- a/docs/source/conf.py
+++ b/docs/source/conf.py
@@ -134,4 +134,5 @@ suppress_warnings = ["misc.highlighting_failure"]
redirects = {
"library-user-guide/adding-udfs": "functions/index.html",
"user-guide/runtime_configs": "configs.html",
+ "library-user-guide/upgrading": "/library-user-guide/upgrading/index.html",
}
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]