Repository navigation
docs: Clean up old upgrade guides with links to the versioned docs - #27769
Merged
Merged
Conversation
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
…guides Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
alamb
commented
Nov 29, 2026
| @@ -146,4 +146,18 @@ | |||
| "library-user-guide/adding-udfs": "functions/index.html", | |||
Contributor
Author
There was a problem hiding this comment.
The changes to this file ensure all existing links still keep working
| upgrade, please consider documenting it in the version-specific [Upgrade Guide]. | ||
|
|
||
| [upgrade guide]: ../library-user-guide/upgrading/index.rst | ||
| [upgrade guide]: ../library-user-guide/upgrading/index.md |
Contributor
Author
There was a problem hiding this comment.
the url stays the same (index.html)
alamb
marked this pull request as ready for review
November 29, 2026 12:30
AdamGS
approved these changes
Nov 30, 2026
alamb
enabled auto-merge
December 1, 2026 19:56
Contributor
Author
|
Thanks @AdamGS -- I am going to merge this and then test out the main site to make sure it looks good |
Contributor
Author
|
https://datafusion.apache.org/library-user-guide/upgrading/index.html looks good
As do the past upgrade guides
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.


Which issue does this PR close?
Rationale for this change
The documentation at https://datafusion.apache.org/ is for the
mainbranch, but it carries the full text of every upgrade guide back to 46.0.0.Those old guides describe APIs as they were several releases ago, and they show up in the site search next to the current documentation and pollute the search index.
According to the 🤖, In the search index currently published at https://datafusion.apache.org/searchindex.js, 14 of the 89 indexed pages are upgrade guides, and they account for 21% of all term entries
So for example, Searching for
ScalarUDFImplreturns 6 pages, and 5 of them are the upgrade guides for 46.0.0, 47.0.0, 48.0.0, 52.0.0 and 53.0.0Now that each release has its own copy of the documentation under
/versions/<version>/, the old guides are already published there, so themainsite only needs to link to them.What changes are included in this PR?
https://datafusion.apache.org/versions/53.0.0/library-user-guide/upgrading/<version>.htmlNotes:
upgrading.htmlpage, so those links use an anchor.copies in the 53.0.0 docs.
doc_comment::doctest!entries for the 46.0.0 to 53.0.0 guides indatafusion/core/src/lib.rsare removed along with the pages.What is the testing strategy for this PR?
Built the docs locally and checked that every redirect and link target returns HTTP 200.
Are there any user-facing changes?
Yes, the
maindocumentation site has one upgrade guide page, and the guides for released versions are in the versioned documentation.