jonkeane commented on a change in pull request #9898: URL: https://github.com/apache/arrow/pull/9898#discussion_r607413302
########## File path: r/vignettes/dev-docs.Rmd ########## @@ -0,0 +1,57 @@ +--- +title: "Arrow R Package Developer Documentation" +output: rmarkdown::html_vignette +vignette: > + %\VignetteIndexEntry{Arrow R Package Developer Documentation} + %\VignetteEngine{knitr::rmarkdown} + %\VignetteEncoding{UTF-8} +--- + +```{r, include = FALSE} +run <- tolower(Sys.getenv("RUN_DEVDOCS", "false")) == "true" +run_macos <- run & tolower(Sys.getenv("DEVDOCS_MACOS", "false")) == "true" +run_ubuntu <- run & tolower(Sys.getenv("DEVDOCS_UBUNTU", "false")) == "true" +``` + +Proof of concept for developer documentation that builds itself. + +```{bash, eval=run_macos} +brew install openssl +``` + + +```{bash, eval=run_ubuntu} +sudo apt install libcurl4-openssl-dev libssl-dev +``` + +```{bash, eval=run} +cd arrow/cpp +mkdir build +cd build + +cmake \ + -DARROW_COMPUTE=ON \ + -DARROW_CSV=ON \ + -DARROW_DATASET=ON \ + -DARROW_FILESYSTEM=ON \ + -DARROW_JEMALLOC=ON \ + -DARROW_JSON=ON \ + -DARROW_PARQUET=ON \ + -DCMAKE_BUILD_TYPE=release \ + -DARROW_WITH_SNAPPY=ON \ + -DARROW_WITH_ZLIB=ON \ + -DARROW_INSTALL_NAME_RPATH=OFF \ Review comment: Yeah, I will do that + the other various conditionals when I start writing the actual docs. I wanted to get it building for now and then edit/add to it knowing that everything I was writing was tested later. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org