Skip to content

feat: add redirects for inactive documentation versions in vercel.json#11027

Merged
kacperlukawski merged 3 commits intomainfrom
redirect-from-old-versions
Apr 2, 2026
Merged

feat: add redirects for inactive documentation versions in vercel.json#11027
kacperlukawski merged 3 commits intomainfrom
redirect-from-old-versions

Conversation

@kacperlukawski
Copy link
Copy Markdown
Member

Related Issues

Proposed Changes:

When the unstable docs are promoted, we regenerate vercel.json config with permanent redirects from the old versions.

How did you test it?

Manually executed the script.

Checklist

  • I have read the contributors guidelines and the code of conduct.
  • I have updated the related issue with new insights and changes.
  • I have added unit tests and updated the docstrings.
  • I've used one of the conventional commit types for my PR title: fix:, feat:, build:, chore:, ci:, docs:, style:, refactor:, perf:, test: and added ! in case the PR includes breaking changes.
  • I have documented my code.
  • I have added a release note file, following the contributors guidelines.
  • I have run pre-commit hooks and fixed any issue.

@kacperlukawski kacperlukawski requested a review from a team as a code owner April 2, 2026 11:02
@kacperlukawski kacperlukawski requested review from anakin87 and removed request for a team April 2, 2026 11:02
@vercel
Copy link
Copy Markdown

vercel bot commented Apr 2, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

1 Skipped Deployment
Project Deployment Actions Updated (UTC)
haystack-docs Ignored Ignored Preview Apr 2, 2026 1:38pm

Request Review

@coveralls
Copy link
Copy Markdown
Collaborator

coveralls commented Apr 2, 2026

Pull Request Test Coverage Report for Build 23903254902

Warning: This coverage report may be inaccurate.

This pull request's base commit is no longer the HEAD commit of its target branch. This means it includes changes from outside the original pull request, including, potentially, unrelated coverage changes.

Details

  • 0 of 0 changed or added relevant lines in 0 files are covered.
  • 29 unchanged lines in 1 file lost coverage.
  • Overall coverage decreased (-0.05%) to 92.86%

Files with Coverage Reduction New Missed Lines %
components/extractors/llm_metadata_extractor.py 29 79.74%
Totals Coverage Status
Change from base Build 23887518000: -0.05%
Covered Lines: 15919
Relevant Lines: 17143

💛 - Coveralls

Copy link
Copy Markdown
Member

@anakin87 anakin87 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you!

I found some minor improvement opportunities

Copy link
Copy Markdown
Member

@anakin87 anakin87 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sorry I introduced a format issue with my suggestion

You can fix it by running hatch run fmt

Apart from that, it's ready to go

@kacperlukawski
Copy link
Copy Markdown
Member Author

Sorry I introduced a format issue with my suggestion

You can fix it by running hatch run fmt

Apart from that, it's ready to go

I think it was fixed by my last commit already.

@anakin87
Copy link
Copy Markdown
Member

anakin87 commented Apr 2, 2026

Feel free to merge!

@kacperlukawski kacperlukawski merged commit d831f54 into main Apr 2, 2026
20 checks passed
@kacperlukawski kacperlukawski deleted the redirect-from-old-versions branch April 2, 2026 14:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Set up global redirects for old versioned docs

3 participants