You are viewing a plain text version of this content. The canonical link for it is here.
Posted to reviews@spark.apache.org by HyukjinKwon <gi...@git.apache.org> on 2017/08/22 07:06:59 UTC

[GitHub] spark pull request #19019: [MINOR][DOCS] Minor doc fixes related with doc bu...

GitHub user HyukjinKwon opened a pull request:

    https://github.com/apache/spark/pull/19019

    [MINOR][DOCS] Minor doc fixes related with doc build and uses script dir in SQL doc gen script

    ## What changes were proposed in this pull request?
    
    This PR proposes both:
    
    - Add information about Javadoc, SQL docs and few more information in `docs/README.md` and a comment in `docs/_plugins/copy_api_dirs.rb` related with Javadoc.
    
    - Adds some commands so that the script always runs the SQL docs build under `./sql` directory (for directly running `./sql/create-docs.sh` in the root directory).
    
    ## How was this patch tested?
    
    Manual tests with `jekyll build` and `./sql/create-docs.sh` in the root directory.

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/HyukjinKwon/spark minor-doc-build

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/spark/pull/19019.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #19019
    
----
commit 840ed06a8b5e8218ddbd267fac8671f5c4fe5d2a
Author: hyukjinkwon <gu...@gmail.com>
Date:   2017-08-22T05:07:29Z

    Minor doc fixes related with doc gen and use current dir in SQL doc gen script

----


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org


[GitHub] spark issue #19019: [MINOR][DOCS] Minor doc fixes related with doc build and...

Posted by AmplabJenkins <gi...@git.apache.org>.
Github user AmplabJenkins commented on the issue:

    https://github.com/apache/spark/pull/19019
  
    Merged build finished. Test PASSed.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org

[GitHub] spark issue #19019: [MINOR][DOCS] Minor doc fixes related with doc build and...

Posted by SparkQA <gi...@git.apache.org>.
Github user SparkQA commented on the issue:

    https://github.com/apache/spark/pull/19019
  
    **[Test build #80986 has started](https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/80986/testReport)** for PR 19019 at commit [`5d854f0`](https://github.com/apache/spark/commit/5d854f0c89de5f89ec42e7833bffb6d44e1d7787).


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org

[GitHub] spark issue #19019: [MINOR][DOCS] Minor doc fixes related with doc build and...

Posted by HyukjinKwon <gi...@git.apache.org>.
Github user HyukjinKwon commented on the issue:

    https://github.com/apache/spark/pull/19019
  
    Merged to master.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org


[GitHub] spark issue #19019: [MINOR][DOCS] Minor doc fixes related with doc build and...

Posted by AmplabJenkins <gi...@git.apache.org>.
Github user AmplabJenkins commented on the issue:

    https://github.com/apache/spark/pull/19019
  
    Test PASSed.
    Refer to this link for build results (access rights to CI server needed): 
    https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/80986/
    Test PASSed.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org


[GitHub] spark pull request #19019: [MINOR][DOCS] Minor doc fixes related with doc bu...

Posted by HyukjinKwon <gi...@git.apache.org>.
Github user HyukjinKwon commented on a diff in the pull request:

    https://github.com/apache/spark/pull/19019#discussion_r134479961
  
    --- Diff: docs/README.md ---
    @@ -32,42 +35,50 @@ the source code and be captured by revision control (currently git). This way th
     includes the version of the documentation that is relevant regardless of which version or release
     you have checked out or downloaded.
     
    -In this directory you will find textfiles formatted using Markdown, with an ".md" suffix. You can
    -read those text files directly if you want. Start with index.md.
    +In this directory you will find text files formatted using Markdown, with an ".md" suffix. You can
    +read those text files directly if you want. Start with `index.md`.
     
     Execute `jekyll build` from the `docs/` directory to compile the site. Compiling the site with
    -Jekyll will create a directory called `_site` containing index.html as well as the rest of the
    +Jekyll will create a directory called `_site` containing `index.html` as well as the rest of the
     compiled files.
     
    -    $ cd docs
    -    $ jekyll build
    +```sh
    +$ cd docs
    +$ jekyll build
    +```
     
     You can modify the default Jekyll build as follows:
    +
     ```sh
    -    # Skip generating API docs (which takes a while)
    -    $ SKIP_API=1 jekyll build
    -    
    -    # Serve content locally on port 4000
    -    $ jekyll serve --watch
    -    
    -    # Build the site with extra features used on the live page
    -    $ PRODUCTION=1 jekyll build
    +# Skip generating API docs (which takes a while)
    +$ SKIP_API=1 jekyll build
    +
    +# Serve content locally on port 4000
    +$ jekyll serve --watch
    +
    +# Build the site with extra features used on the live page
    +$ PRODUCTION=1 jekyll build
     ```
     
    -## API Docs (Scaladoc, Sphinx, roxygen2)
    +## API Docs (Scaladoc, Javadoc, Sphinx, roxygen2, MkDocs)
     
    -You can build just the Spark scaladoc by running `build/sbt unidoc` from the SPARK_PROJECT_ROOT directory.
    --- End diff --
    
    I think we don't use the term `SPARK_PROJECT_ROOT` anywhere except for here. I rather chose the close term `SPARK_HOME`.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org


[GitHub] spark pull request #19019: [MINOR][DOCS] Minor doc fixes related with doc bu...

Posted by HyukjinKwon <gi...@git.apache.org>.
Github user HyukjinKwon commented on a diff in the pull request:

    https://github.com/apache/spark/pull/19019#discussion_r134479721
  
    --- Diff: docs/README.md ---
    @@ -9,19 +9,22 @@ documentation yourself. Why build it yourself? So that you have the docs that co
     whichever version of Spark you currently have checked out of revision control.
     
     ## Prerequisites
    -The Spark documentation build uses a number of tools to build HTML docs and API docs in Scala,
    -Python and R.
    +
    +The Spark documentation build uses a number of tools to build HTML docs and API docs in Scala, Java,
    +Python, R and SQL.
     
     You need to have [Ruby](https://www.ruby-lang.org/en/documentation/installation/) and
     [Python](https://docs.python.org/2/using/unix.html#getting-and-installing-the-latest-version-of-python)
     installed. Also install the following libraries:
    +
     ```sh
    -    $ sudo gem install jekyll jekyll-redirect-from pygments.rb
    -    $ sudo pip install Pygments
    -    # Following is needed only for generating API docs
    -    $ sudo pip install sphinx pypandoc mkdocs
    -    $ sudo Rscript -e 'install.packages(c("knitr", "devtools", "roxygen2", "testthat", "rmarkdown"), repos="http://cran.stat.ucla.edu/")'
    +$ sudo gem install jekyll jekyll-redirect-from pygments.rb
    +$ sudo pip install Pygments
    +# Following is needed only for generating API docs
    +$ sudo pip install sphinx pypandoc mkdocs
    +$ sudo Rscript -e 'install.packages(c("knitr", "devtools", "roxygen2", "testthat", "rmarkdown"), repos="http://cran.stat.ucla.edu/")'
    --- End diff --
    
    I think we mistakenly make this indented. For example, these were all intended identically - https://github.com/apache/spark/blob/branch-1.5/docs/README.md


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org

[GitHub] spark issue #19019: [MINOR][DOCS] Minor doc fixes related with doc build and...

Posted by SparkQA <gi...@git.apache.org>.
Github user SparkQA commented on the issue:

    https://github.com/apache/spark/pull/19019
  
    **[Test build #80969 has started](https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/80969/testReport)** for PR 19019 at commit [`840ed06`](https://github.com/apache/spark/commit/840ed06a8b5e8218ddbd267fac8671f5c4fe5d2a).


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org

[GitHub] spark issue #19019: [MINOR][DOCS] Minor doc fixes related with doc build and...

Posted by AmplabJenkins <gi...@git.apache.org>.
Github user AmplabJenkins commented on the issue:

    https://github.com/apache/spark/pull/19019
  
    Test PASSed.
    Refer to this link for build results (access rights to CI server needed): 
    https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/80969/
    Test PASSed.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org


[GitHub] spark issue #19019: [MINOR][DOCS] Minor doc fixes related with doc build and...

Posted by AmplabJenkins <gi...@git.apache.org>.
Github user AmplabJenkins commented on the issue:

    https://github.com/apache/spark/pull/19019
  
    Merged build finished. Test PASSed.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org

[GitHub] spark issue #19019: [MINOR][DOCS] Minor doc fixes related with doc build and...

Posted by SparkQA <gi...@git.apache.org>.
Github user SparkQA commented on the issue:

    https://github.com/apache/spark/pull/19019
  
    **[Test build #80969 has finished](https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/80969/testReport)** for PR 19019 at commit [`840ed06`](https://github.com/apache/spark/commit/840ed06a8b5e8218ddbd267fac8671f5c4fe5d2a).
     * This patch passes all tests.
     * This patch merges cleanly.
     * This patch adds no public classes.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org

[GitHub] spark issue #19019: [MINOR][DOCS] Minor doc fixes related with doc build and...

Posted by SparkQA <gi...@git.apache.org>.
Github user SparkQA commented on the issue:

    https://github.com/apache/spark/pull/19019
  
    **[Test build #80985 has finished](https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/80985/testReport)** for PR 19019 at commit [`90832cc`](https://github.com/apache/spark/commit/90832cc98738346245c9af889890c4e791aa01ce).
     * This patch passes all tests.
     * This patch merges cleanly.
     * This patch adds no public classes.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org


[GitHub] spark issue #19019: [MINOR][DOCS] Minor doc fixes related with doc build and...

Posted by AmplabJenkins <gi...@git.apache.org>.
Github user AmplabJenkins commented on the issue:

    https://github.com/apache/spark/pull/19019
  
    Test PASSed.
    Refer to this link for build results (access rights to CI server needed): 
    https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/80985/
    Test PASSed.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org


[GitHub] spark issue #19019: [MINOR][DOCS] Minor doc fixes related with doc build and...

Posted by SparkQA <gi...@git.apache.org>.
Github user SparkQA commented on the issue:

    https://github.com/apache/spark/pull/19019
  
    **[Test build #80986 has finished](https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/80986/testReport)** for PR 19019 at commit [`5d854f0`](https://github.com/apache/spark/commit/5d854f0c89de5f89ec42e7833bffb6d44e1d7787).
     * This patch passes all tests.
     * This patch merges cleanly.
     * This patch adds no public classes.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org

[GitHub] spark pull request #19019: [MINOR][DOCS] Minor doc fixes related with doc bu...

Posted by asfgit <gi...@git.apache.org>.
Github user asfgit closed the pull request at:

    https://github.com/apache/spark/pull/19019


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org


[GitHub] spark issue #19019: [MINOR][DOCS] Minor doc fixes related with doc build and...

Posted by SparkQA <gi...@git.apache.org>.
Github user SparkQA commented on the issue:

    https://github.com/apache/spark/pull/19019
  
    **[Test build #80985 has started](https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/80985/testReport)** for PR 19019 at commit [`90832cc`](https://github.com/apache/spark/commit/90832cc98738346245c9af889890c4e791aa01ce).


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org

[GitHub] spark issue #19019: [MINOR][DOCS] Minor doc fixes related with doc build and...

Posted by AmplabJenkins <gi...@git.apache.org>.
Github user AmplabJenkins commented on the issue:

    https://github.com/apache/spark/pull/19019
  
    Merged build finished. Test PASSed.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org