diff options
author | Andy Konwinski <andyk@berkeley.edu> | 2012-10-08 10:13:26 -0700 |
---|---|---|
committer | Andy Konwinski <andyk@berkeley.edu> | 2012-10-08 10:30:38 -0700 |
commit | 45d03231d0961677ea0372d36977cecf21ab62d0 (patch) | |
tree | 0928e51cf925b7b9baeda863e99dd936476a28d5 /docs/contributing-to-spark.md | |
parent | efc5423210d1aadeaea78273a4a8f10425753079 (diff) | |
download | spark-45d03231d0961677ea0372d36977cecf21ab62d0.tar.gz spark-45d03231d0961677ea0372d36977cecf21ab62d0.tar.bz2 spark-45d03231d0961677ea0372d36977cecf21ab62d0.zip |
Adds liquid variables to docs templating system so that they can be used
throughout the docs: SPARK_VERSION, SCALA_VERSION, and MESOS_VERSION.
To use them, e.g. use {{site.SPARK_VERSION}}.
Also removes uses of {{HOME_PATH}} which were being resolved to ""
by the templating system anyway.
Diffstat (limited to 'docs/contributing-to-spark.md')
-rw-r--r-- | docs/contributing-to-spark.md | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/contributing-to-spark.md b/docs/contributing-to-spark.md index a0e645d6cc..c6e01c62d8 100644 --- a/docs/contributing-to-spark.md +++ b/docs/contributing-to-spark.md @@ -12,7 +12,7 @@ The Spark team welcomes contributions in the form of GitHub pull requests. Here * Always import packages using absolute paths (e.g. `scala.collection.Map` instead of `collection.Map`). * No "infix" syntax for methods other than operators. For example, don't write `table containsKey myKey`; replace it with `table.containsKey(myKey)`. - Make sure that your code passes the unit tests. You can run the tests with `sbt/sbt test` in the root directory of Spark. - But first, make sure that you have [configured a spark-env.sh]({{HOME_PATH}}configuration.html) with at least + But first, make sure that you have [configured a spark-env.sh](configuration.html) with at least `SCALA_HOME`, as some of the tests try to spawn subprocesses using this. - Add new unit tests for your code. We use [ScalaTest](http://www.scalatest.org/) for testing. Just add a new Suite in `core/src/test`, or methods to an existing Suite. - If you'd like to report a bug but don't have time to fix it, you can still post it to our [issues page](https://github.com/mesos/spark/issues), or email the [mailing list](http://www.spark-project.org/mailing-lists.html). |