[
https://issues.apache.org/jira/browse/FLINK-38914?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18059643#comment-18059643
]
Martijn Visser commented on FLINK-38914:
----------------------------------------
Fixed in apache/flink
release-1.18:
[FLINK-38914][docs] Preserve page path when linking to stable version -
166d188ad5910a072135b6f068dbdc4efb50cd35
[FLINK-38914][docs] Add canonical tags pointing to stable docs -
0f649e379b9311cbe73574d3216bce2b5d96576f
release-1.17:
[FLINK-38914][docs] Preserve page path when linking to stable version -
df0dd7976af506abc8c186b2a4cf7185757a5e44
[FLINK-38914][docs] Add canonical tags pointing to stable docs -
d0c850ccef08d930e73ea34e9326d5f907507cbd
release-1.16:
[FLINK-38914][docs] Preserve page path when linking to stable version -
f9e08184343390801c35b31e200c78386016dde2
[FLINK-38914][docs] Add canonical tags pointing to stable docs -
2523b4c3a8daa2819a3be00576e6e9a0ae1a1edf
> 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: Sub-task
> 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)