You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@spark.apache.org by do...@apache.org on 2023/10/09 20:48:50 UTC

[spark] branch branch-3.4 updated: [SPARK-44729][PYTHON][DOCS][3.4] Add canonical links to the PySpark docs page

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

dongjoon pushed a commit to branch branch-3.4
in repository https://gitbox.apache.org/repos/asf/spark.git


The following commit(s) were added to refs/heads/branch-3.4 by this push:
     new b7850204170 [SPARK-44729][PYTHON][DOCS][3.4] Add canonical links to the PySpark docs page
b7850204170 is described below

commit b7850204170f0759f7fc60ddb597644370b5ecce
Author: panbingkun <pb...@gmail.com>
AuthorDate: Mon Oct 9 13:48:37 2023 -0700

    [SPARK-44729][PYTHON][DOCS][3.4] Add canonical links to the PySpark docs page
    
    ### What changes were proposed in this pull request?
    The pr aims to add canonical links to the PySpark docs page, backport this to branch 3.4.
    Master branch pr: https://github.com/apache/spark/pull/42425.
    
    ### Why are the changes needed?
    Backport this to branch 3.4.
    
    ### Does this PR introduce _any_ user-facing change?
    No.
    
    ### How was this patch tested?
    - Pass GA.
    - Manually test.
    
    ### Was this patch authored or co-authored using generative AI tooling?
    No.
    
    Closes #43285 from panbingkun/branch-3.4_SPARK-44729.
    
    Authored-by: panbingkun <pb...@gmail.com>
    Signed-off-by: Dongjoon Hyun <dh...@apple.com>
---
 python/docs/source/conf.py | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/python/docs/source/conf.py b/python/docs/source/conf.py
index 8203a802053..38c331048e7 100644
--- a/python/docs/source/conf.py
+++ b/python/docs/source/conf.py
@@ -259,6 +259,8 @@ html_use_index = False
 # Output file base name for HTML help builder.
 htmlhelp_basename = 'pysparkdoc'
 
+# The base URL which points to the root of the HTML documentation.
+html_baseurl = 'https://spark.apache.org/docs/latest/api/python'
 
 # -- Options for LaTeX output ---------------------------------------------
 


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@spark.apache.org
For additional commands, e-mail: commits-help@spark.apache.org