aboutsummaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorDavies Liu <davies@databricks.com>2014-11-20 19:12:45 -0800
committerPatrick Wendell <pwendell@gmail.com>2014-11-20 19:13:16 -0800
commit8cd6eea6298fc8e811dece38c2875e94ff863948 (patch)
tree3e0f7aa22db19fc7f9b1dbf09a3ddd791b7a3534 /docs
parent02ec058efe24348cdd3691b55942e6f0ef138732 (diff)
downloadspark-8cd6eea6298fc8e811dece38c2875e94ff863948.tar.gz
spark-8cd6eea6298fc8e811dece38c2875e94ff863948.tar.bz2
spark-8cd6eea6298fc8e811dece38c2875e94ff863948.zip
add Sphinx as a dependency of building docs
Author: Davies Liu <davies@databricks.com> Closes #3388 from davies/doc_readme and squashes the following commits: daa1482 [Davies Liu] add Sphinx dependency
Diffstat (limited to 'docs')
-rw-r--r--docs/README.md7
1 files changed, 6 insertions, 1 deletions
diff --git a/docs/README.md b/docs/README.md
index d2d58e435d..1194840380 100644
--- a/docs/README.md
+++ b/docs/README.md
@@ -43,7 +43,7 @@ You can modify the default Jekyll build as follows:
## Pygments
We also use pygments (http://pygments.org) for syntax highlighting in documentation markdown pages,
-so you will also need to install that (it requires Python) by running `sudo easy_install Pygments`.
+so you will also need to install that (it requires Python) by running `sudo pip install Pygments`.
To mark a block of code in your markdown to be syntax highlighted by jekyll during the compile
phase, use the following sytax:
@@ -53,6 +53,11 @@ phase, use the following sytax:
// supported languages too.
{% endhighlight %}
+## Sphinx
+
+We use Sphinx to generate Python API docs, so you will need to install it by running
+`sudo pip install sphinx`.
+
## API Docs (Scaladoc and Sphinx)
You can build just the Spark scaladoc by running `sbt/sbt doc` from the SPARK_PROJECT_ROOT directory.