You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "MartijnVisser (via GitHub)" <gi...@apache.org> on 2026/01/14 13:57:44 UTC

[PR] Redirect users to deeplink when visiting an outdated or master docs page (instead of stable) [flink]

MartijnVisser opened a new pull request, #27412:
URL: https://github.com/apache/flink/pull/27412

   ## What is the purpose of the change
   
   * The "stable version" link in the warning banner for unreleased/out-of-date docs now redirects to the equivalent page in the stable docs instead of always redirecting to the homepage.
   * To make sure that search engines point to the right version of the docs, the generated HTML contains a [canonical tag](https://developers.google.com/search/docs/crawling-indexing/consolidate-duplicate-urls) to indicate that the docs that are on "stable" are the most trustworthy ones.
   
   Note: this change needs to be backported to all the previous docs, and it also appears that some versions are not yet marked as "outdated". That's for follow-up PRs into those release branches
   
   ## Brief change log
   
   * Use regex in Hugo partial to redirect the user to the right deeplink on the stable docs
   * Includes an auto-generated canonical tag
   
   ## Verifying this change
   
   * Verified this by running the Hugo Docker image locally, and testing out the deeplinks and generated canonical tags by inspecting the source code
   
   ## Does this pull request potentially affect one of the following parts:
   
     - Dependencies (does it add or upgrade a dependency): (yes / **no**)
     - The public API, i.e., is any changed class annotated with `@Public(Evolving)`: (yes / **no**)
     - The serializers: (yes / **no** / don't know)
     - The runtime per-record code paths (performance sensitive): (yes / **no** / don't know)
     - Anything that affects deployment or recovery: JobManager (and its components), Checkpointing, Kubernetes/Yarn, ZooKeeper: (yes / **no** / don't know)
     - The S3 file system connector: (yes / **no** / don't know)
   
   ## Documentation
   
     - Does this pull request introduce a new feature? (yes / **no**)
     - If yes, how is the feature documented? (**not applicable** / docs / JavaDocs / not documented)
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@flink.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] [FLINK-38914][docs] Redirect users to deeplink when visiting an outdated or master docs page (instead of stable) [flink]

Posted by "MartijnVisser (via GitHub)" <gi...@apache.org>.
MartijnVisser commented on PR #27412:
URL: https://github.com/apache/flink/pull/27412#issuecomment-3751620244

   @flinkbot run azure


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@flink.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] [FLINK-38914][docs] Redirect users to deeplink when visiting an outdated or master docs page (instead of stable) [flink]

Posted by "MartijnVisser (via GitHub)" <gi...@apache.org>.
MartijnVisser merged PR #27412:
URL: https://github.com/apache/flink/pull/27412


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@flink.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] [FLINK-38914][docs] Redirect users to deeplink when visiting an outdated or master docs page (instead of stable) [flink]

Posted by "MartijnVisser (via GitHub)" <gi...@apache.org>.
MartijnVisser commented on PR #27412:
URL: https://github.com/apache/flink/pull/27412#issuecomment-3751158471

   @flinkbot run azure


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@flink.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] Redirect users to deeplink when visiting an outdated or master docs page (instead of stable) [flink]

Posted by "flinkbot (via GitHub)" <gi...@apache.org>.
flinkbot commented on PR #27412:
URL: https://github.com/apache/flink/pull/27412#issuecomment-3749706168

   <!--
   Meta data
   {
     "version" : 1,
     "metaDataEntries" : [ {
       "hash" : "7e33507456b587c831a0f3fc8c8aa143cc4cf995",
       "status" : "UNKNOWN",
       "url" : "TBD",
       "triggerID" : "7e33507456b587c831a0f3fc8c8aa143cc4cf995",
       "triggerType" : "PUSH"
     } ]
   }-->
   ## CI report:
   
   * 7e33507456b587c831a0f3fc8c8aa143cc4cf995 UNKNOWN
   
   <details>
   <summary>Bot commands</summary>
     The @flinkbot bot supports the following commands:
   
    - `@flinkbot run azure` re-run the last Azure build
   </details>


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@flink.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org