Skip to content
This repository was archived by the owner on Jan 9, 2020. It is now read-only.

Commit d399a29

Browse files
dongjoon-hyunshivaram
authored andcommitted
[SPARK-18875][SPARKR][DOCS] Fix R API doc generation by adding DESCRIPTION file
## What changes were proposed in this pull request? Since Apache Spark 1.4.0, R API document page has a broken link on `DESCRIPTION file` because Jekyll plugin script doesn't copy the file. This PR aims to fix that. - Official Latest Website: http://spark.apache.org/docs/latest/api/R/index.html - Apache Spark 2.1.0-rc2: http://people.apache.org/~pwendell/spark-releases/spark-2.1.0-rc2-docs/api/R/index.html ## How was this patch tested? Manual. ```bash cd docs SKIP_SCALADOC=1 jekyll build ``` Author: Dongjoon Hyun <[email protected]> Closes apache#16292 from dongjoon-hyun/SPARK-18875. (cherry picked from commit ec0eae4) Signed-off-by: Shivaram Venkataraman <[email protected]>
1 parent b14fc39 commit d399a29

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

docs/_plugins/copy_api_dirs.rb

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -142,4 +142,7 @@
142142
puts "cp -r R/pkg/html/. docs/api/R"
143143
cp_r("R/pkg/html/.", "docs/api/R")
144144

145+
puts "cp R/pkg/DESCRIPTION docs/api"
146+
cp("R/pkg/DESCRIPTION", "docs/api")
147+
145148
end

0 commit comments

Comments
 (0)