From 45d03231d0961677ea0372d36977cecf21ab62d0 Mon Sep 17 00:00:00 2001 From: Andy Konwinski Date: Mon, 8 Oct 2012 10:13:26 -0700 Subject: 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. --- docs/_config.yml | 8 +++++++- docs/_layouts/global.html | 32 ++++++++++++++++---------------- docs/api.md | 6 +++--- docs/bagel-programming-guide.md | 2 +- docs/configuration.md | 16 ++++++++-------- docs/contributing-to-spark.md | 2 +- docs/ec2-scripts.md | 4 ++-- docs/index.md | 26 +++++++++++++------------- docs/java-programming-guide.md | 26 +++++++++++++------------- docs/quick-start.md | 14 +++++++------- docs/running-on-mesos.md | 4 ++-- docs/scala-programming-guide.md | 24 ++++++++++++------------ docs/spark-standalone.md | 4 ++-- docs/tuning.md | 16 ++++++++-------- 14 files changed, 95 insertions(+), 89 deletions(-) (limited to 'docs') diff --git a/docs/_config.yml b/docs/_config.yml index 8412645ab2..88567403a0 100644 --- a/docs/_config.yml +++ b/docs/_config.yml @@ -1,2 +1,8 @@ pygments: true -markdown: kramdown \ No newline at end of file +markdown: kramdown + +# These allow the documentation to be updated with nerw releases +# of Spark, Scala, and Mesos. +SPARK_VERSION: 0.6.0 +SCALA_VERSION: 2.9.2 +MESOS_VERSION: 0.9.0 diff --git a/docs/_layouts/global.html b/docs/_layouts/global.html index dbe9d085a2..d185790bb5 100755 --- a/docs/_layouts/global.html +++ b/docs/_layouts/global.html @@ -6,10 +6,10 @@ - {{ page.title }} - Spark 0.6.0 Documentation + {{ page.title }} - Spark {{site.SPARK_VERSION}} Documentation - + - - + + - + - + -
  • Overview
  • +
  • Overview
  • @@ -53,15 +53,15 @@