Skip to content

Commit 10b27f3

Browse files
yaooqinnHyukjinKwon
authored andcommitted
[SPARK-53577][DOCS] Fix Scaladoc source links for java sources
### What changes were proposed in this pull request? Replace `€{FILE_PATH}.scala` with `€{FILE_PATH_EXT}` as the placeholder for generating Scaladoc source links ### Why are the changes needed? Fix 404 for cases like https://spark.apache.org/docs/latest/api/scala/org/apache/spark/launcher/JavaModuleOptions.html ### Does this PR introduce _any_ user-facing change? no ### How was this patch tested? Build Scala doc locally to verify ### Was this patch authored or co-authored using generative AI tooling? no Closes #52338 from yaooqinn/SPARK-53577. Authored-by: Kent Yao <[email protected]> Signed-off-by: Hyukjin Kwon <[email protected]>
1 parent 8c422f9 commit 10b27f3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

project/SparkBuild.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1498,7 +1498,7 @@ object Unidoc {
14981498
) ++ (
14991499
// Add links to sources when generating Scaladoc for a non-snapshot release
15001500
if (!isSnapshot.value) {
1501-
Opts.doc.sourceUrl(unidocSourceBase.value + "€{FILE_PATH}.scala")
1501+
Opts.doc.sourceUrl(unidocSourceBase.value + "€{FILE_PATH_EXT}")
15021502
} else {
15031503
Seq()
15041504
}

0 commit comments

Comments
 (0)