[
https://issues.apache.org/jira/browse/FLINK-38914?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18052036#comment-18052036
]
Martijn Visser commented on FLINK-38914:
----------------------------------------
Fixed for release-2.2:
[FLINK-38914][docs] Preserve page path when linking to stable version
8647457fb0bb9a7ae3ff6e1c3d53d2b998f343d5
[FLINK-38914][docs] Add canonical tags pointing to stable docs
28bda0b99a414f6cfc2cd9f41ef9b70193fcfb60
> Redirect users to deeplink when visiting an outdated or master docs page
> (instead of stable)
> --------------------------------------------------------------------------------------------
>
> Key: FLINK-38914
> URL: https://issues.apache.org/jira/browse/FLINK-38914
> Project: Flink
> Issue Type: Improvement
> Components: Documentation
> Reporter: Martijn Visser
> Assignee: Martijn Visser
> Priority: Major
> Labels: pull-request-available
> Fix For: 1.7.3, 1.8.4, 1.9.4, 1.10.4, 1.11.7, 1.12.8, 1.13.7,
> 1.14.7, 1.15.5, 1.17.3, 1.18.2, 1.19.4, 2.1.2, 2.0.2, 2.3.0, 2.2.1
>
>
> Currently, users see this message for unreleased docs:
> {code:html}
> This documentation is for an unreleased version of Apache Flink. We recommend
> you use the latest stable version.
> {code}
> and this for older content:
> {code:html}
> This documentation is for an out-of-date version of Apache Flink. We
> recommend you use the latest stable version.
> {code}
> In both cases, users are redirect to "just"
> https://nightlies.apache.org/flink/flink-docs-stable/, effectively being
> redirected to the main docs instead of the specific page they were visiting.
> We should redirect the user to the same page that they're currently on, just
> the stable version. If that page doesn't exist, it either has an alias to
> redirect the user to the right, new location, or we see that it's a 404 and
> then redirect the user to the homepage.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)