This is an automated email from the ASF dual-hosted git repository.
gurwls223 pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/spark.git
The following commit(s) were added to refs/heads/master by this push:
new 79ccdfa31e2 [SPARK-45935][PYTHON][DOCS] Fix RST files link
substitutions error
79ccdfa31e2 is described below
commit 79ccdfa31e282ebe9a82c8f20c703b6ad2ea6bc1
Author: panbingkun <[email protected]>
AuthorDate: Thu Nov 16 18:00:56 2023 +0900
[SPARK-45935][PYTHON][DOCS] Fix RST files link substitutions error
### What changes were proposed in this pull request?
The pr aims to fix RST files `link substitutions` error.
Target branch: branch-3.3, branch-3.4, branch-3.5, master.
### Why are the changes needed?
When I was reviewing Python documents, I found that `the actual address` of
the link was incorrect, eg:
https://spark.apache.org/docs/latest/api/python/getting_started/install.html#installing-from-source
<img width="916" alt="image"
src="https://github.com/apache/spark/assets/15246973/069c1875-1e21-45db-a236-15c27ee7b913">
`The ref link url` of `Building Spark`: from
`https://spark.apache.org/docs/3.5.0/#downloading` to
`https://spark.apache.org/docs/3.5.0/building-spark.html`.
We should fix it.
### Does this PR introduce _any_ user-facing change?
No.
### How was this patch tested?
Manually test.
### Was this patch authored or co-authored using generative AI tooling?
No.
Closes #43815 from panbingkun/SPARK-45935.
Authored-by: panbingkun <[email protected]>
Signed-off-by: Hyukjin Kwon <[email protected]>
---
python/docs/source/conf.py | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/python/docs/source/conf.py b/python/docs/source/conf.py
index 9fd50b6c976..b9884d55b3a 100644
--- a/python/docs/source/conf.py
+++ b/python/docs/source/conf.py
@@ -102,9 +102,9 @@ rst_epilog = """
.. |examples| replace:: Examples
.. _examples: https://github.com/apache/spark/tree/{0}/examples/src/main/python
.. |downloading| replace:: Downloading
-.. _downloading: https://spark.apache.org/docs/{1}/building-spark.html
+.. _downloading: https://spark.apache.org/docs/{1}/#downloading
.. |building_spark| replace:: Building Spark
-.. _building_spark: https://spark.apache.org/docs/{1}/#downloading
+.. _building_spark: https://spark.apache.org/docs/{1}/building-spark.html
""".format(
os.environ.get("GIT_HASH", "master"),
os.environ.get("RELEASE_VERSION", "latest"),
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]