[
https://issues.apache.org/jira/browse/FLINK-38914?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18052040#comment-18052040
]
Martijn Visser commented on FLINK-38914:
----------------------------------------
Fixed for release-1.19
[FLINK-38914][docs] Preserve page path when linking to stable version
993719fa5f11cf01b051a99f73e44e6d57329b2b
[FLINK-38914][docs] Add canonical tags pointing to stable docs
95bd67f0dad024fec42c106ad9aff0708b2ba0ad
> 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)