This is an automated email from the ASF dual-hosted git repository.

martijnvisser pushed a commit to branch release-1.18
in repository https://gitbox.apache.org/repos/asf/flink.git

commit ce6de855b0f504ac15d3b9b1156f1572972c2e65
Author: Martijn Visser <[email protected]>
AuthorDate: Wed Jan 21 09:08:11 2026 +0100

    [FLINK-38955][docs] Configure canonical tag for PyDocs
    
    (cherry picked from commit d7627468b3952b710ef544ea1dc9b74e43737e04)
---
 flink-python/docs/conf.py | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/flink-python/docs/conf.py b/flink-python/docs/conf.py
index 42db33665d6..cd54ec73202 100644
--- a/flink-python/docs/conf.py
+++ b/flink-python/docs/conf.py
@@ -118,6 +118,9 @@ html_theme_options = {
     "navigation_depth": 0
 }
 
+# Base URL for canonical links, pointing to stable docs version
+html_baseurl = 
"https://nightlies.apache.org/flink/flink-docs-stable/api/python/";
+
 # The name of an image file (relative to this directory) to place at the top
 # of the sidebar.
 html_logo = "../../docs/static/navbar-brand-logo.jpg"

Reply via email to