Skip to content

Commit

Permalink
Add other files
Browse files Browse the repository at this point in the history
  • Loading branch information
alexpeters1208 committed Nov 20, 2023
1 parent f0e4cee commit 0258193
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions R/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -164,6 +164,7 @@ def rClientSite = Docker.registerDockerTask(project, 'rClientSite') {
from(layout.projectDirectory) {
include 'r-site.sh'
include 'rdeephaven/man/**'
include 'rdeephaven/pkgdown/**'
}
}
copyOut {
Expand All @@ -173,6 +174,7 @@ def rClientSite = Docker.registerDockerTask(project, 'rClientSite') {
from('deephaven/r-client-doc:local-build')
// We need the contents of 'man' to build the docsite
copyFile('rdeephaven/man/**', "${prefix}/src/rdeephaven/man/")
copyFile('rdeephaven/pkgdown/**', "${prefix}/src/rdeephaven/pkgdown/")
runCommand("mkdir -p ${prefix}/src/rdeephaven/docs")
runCommand('''echo "status = tryCatch(" \
" {" \
Expand Down
2 changes: 1 addition & 1 deletion R/r-site.sh
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ R --no-save --no-restore <<EOF
library('pkgdown')
status = tryCatch(
{
pkgdown::build_site()
pkgdown::build_site(preview=FALSE)
0
},
error=function(e) 1
Expand Down

0 comments on commit 0258193

Please sign in to comment.