Skip to content

Conversation

@rionmonster
Copy link
Contributor

Purpose

Linked issue: close #2062

Per Issue #2062, this pull request adds redirect support for the latest stable version documentation (e.g. docs/0.8/engine-flink/getting-started/docs/engine-flink/getting-started/). This change will ensure that both implicit and explicit references to the latest stable version are resolved correctly, avoiding broken links.

Brief change log

  • Added a dependency on the @docusaurus/plugin-client-redirects plugin to support performing client-side redirects.
  • Added a new createRedirects redirect rule that applies only to the docs area, which will handle ensuring that the existing routes are evaluated and redirect routes are defined for those that are considered "unversioned" (e.g. "next", non-existant versions, etc.)

Tests

These changes were tested locally and require an explicit npm run build and npm run serve as redirect rules are only applied for production builds (so an npm run start will not apply them). You can see an example of this running locally and successfully navigating through the available versions and redirecting routes that explicitly use the latest, stable version (0.8) below:

fluss-redirecting-example.mov

API and Format

N/A

Documentation

N/A

@leonardBang leonardBang self-requested a review December 3, 2025 08:33
Copy link
Contributor

@leonardBang leonardBang left a comment

Choose a reason for hiding this comment

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

@rionmonster Awesome work, I've checked in my local env. +1

@leonardBang leonardBang merged commit 1c6c722 into apache:main Dec 3, 2025
2 checks passed
@rionmonster
Copy link
Contributor Author

@leonardBang / @wuchong

Thanks folks! I just went and checked the site and it appears that things are working as expected (confirmed that https://fluss.apache.org/docs/0.8/engine-flink/delta-joins/#flink-version-support routes to the implicit https://fluss.apache.org/docs/engine-flink/delta-joins/#flink-version-support)!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[website] Add redirect for latest stable version docs

2 participants