Skip to content
Snippets Groups Projects
Commit 4be12d97 authored by Matei Zaharia's avatar Matei Zaharia
Browse files

Some doc fixes, including showing version number in nav bar again

parent 19910c00
No related branches found
No related tags found
No related merge requests found
...@@ -8,6 +8,11 @@ import spark.bagel.Bagel._ ...@@ -8,6 +8,11 @@ import spark.bagel.Bagel._
import scala.xml.{XML,NodeSeq} import scala.xml.{XML,NodeSeq}
/**
* Run PageRank on XML Wikipedia dumps from http://wiki.freebase.com/wiki/WEX. Uses the "articles"
* files from there, which contains one line per wiki article in a tab-separated format
* (http://wiki.freebase.com/wiki/WEX/Documentation#articles).
*/
object WikipediaPageRank { object WikipediaPageRank {
def main(args: Array[String]) { def main(args: Array[String]) {
if (args.length < 5) { if (args.length < 5) {
......
...@@ -3,6 +3,7 @@ markdown: kramdown ...@@ -3,6 +3,7 @@ markdown: kramdown
# These allow the documentation to be updated with nerw releases # These allow the documentation to be updated with nerw releases
# of Spark, Scala, and Mesos. # of Spark, Scala, and Mesos.
SPARK_VERSION: 0.6.0-SNAPSHOT SPARK_VERSION: 0.6.0
SPARK_VERSION_SHORT: 0.6.0
SCALA_VERSION: 2.9.2 SCALA_VERSION: 2.9.2
MESOS_VERSION: 0.9.0-incubating MESOS_VERSION: 0.9.0-incubating
...@@ -34,7 +34,9 @@ ...@@ -34,7 +34,9 @@
<div class="navbar navbar-fixed-top" id="topbar"> <div class="navbar navbar-fixed-top" id="topbar">
<div class="navbar-inner"> <div class="navbar-inner">
<div class="container"> <div class="container">
<a class="brand" href="index.html"></a> <div class="brand"><a href="index.html">
<img src="../img/spark-logo-77x50px-hd.png" /></a><span class="version">{{site.SPARK_VERSION_SHORT}}</span>
</div>
<ul class="nav"> <ul class="nav">
<!--TODO(andyk): Add class="active" attribute to li some how.--> <!--TODO(andyk): Add class="active" attribute to li some how.-->
<li><a href="index.html">Overview</a></li> <li><a href="index.html">Overview</a></li>
......
...@@ -158,4 +158,4 @@ trait Message[K] { ...@@ -158,4 +158,4 @@ trait Message[K] {
## Where to Go from Here ## Where to Go from Here
Two example jobs, PageRank and shortest path, are included in `bagel/src/main/scala/spark/bagel/examples`. You can run them by passing the class name to the `run` script included in Spark -- for example, `./run spark.bagel.examples.ShortestPath`. Each example program prints usage help when run without any arguments. Two example jobs, PageRank and shortest path, are included in `bagel/src/main/scala/spark/bagel/examples`. You can run them by passing the class name to the `run` script included in Spark -- for example, `./run spark.bagel.examples.WikipediaPageRank`. Each example program prints usage help when run without any arguments.
...@@ -3,11 +3,20 @@ ...@@ -3,11 +3,20 @@
========================================================================== */ ========================================================================== */
.navbar .brand { .navbar .brand {
background: url(../img/spark-logo-77x50px-hd.png) no-repeat left center;
height: 50px; height: 50px;
width: 77px; width: 110px;
margin-left: 1px; margin-left: 1px;
padding: 0 10px 0 0; padding: 0;
}
.version {
line-height: 30px;
vertical-align: bottom;
font-size: 12px;
padding: 0;
margin: 0;
font-weight: bold;
color: #777;
} }
.navbar-inner { .navbar-inner {
......
...@@ -79,13 +79,13 @@ of `project/SparkBuild.scala`, then rebuilding Spark (`sbt/sbt clean compile`). ...@@ -79,13 +79,13 @@ of `project/SparkBuild.scala`, then rebuilding Spark (`sbt/sbt clean compile`).
**External resources:** **External resources:**
* [Spark Homepage](http://www.spark-project.org) * [Spark Homepage](http://www.spark-project.org)
* [AMP Camp](http://ampcamp.berkeley.edu/): a two-day training camp at UC Berkeley that featured talks and exercises * [Mailing List](http://groups.google.com/group/spark-users): ask questions about Spark here
about Spark, Shark, Mesos, and more. [Videos](http://ampcamp.berkeley.edu/agenda-2012), * [AMP Camp](http://ampcamp.berkeley.edu/): a two-day training camp at UC Berkeley that featured talks and exercises
about Spark, Shark, Mesos, and more. [Videos](http://ampcamp.berkeley.edu/agenda-2012),
[slides](http://ampcamp.berkeley.edu/agenda-2012) and [exercises](http://ampcamp.berkeley.edu/exercises-2012) are [slides](http://ampcamp.berkeley.edu/agenda-2012) and [exercises](http://ampcamp.berkeley.edu/exercises-2012) are
available online for free. available online for free.
* [Code Examples](http://spark-project.org/examples.html): more are also available in the [examples subfolder](https://github.com/mesos/spark/tree/master/examples/src/main/scala/spark/examples) of Spark * [Code Examples](http://spark-project.org/examples.html): more are also available in the [examples subfolder](https://github.com/mesos/spark/tree/master/examples/src/main/scala/spark/examples) of Spark
* [Paper describing the Spark system](http://www.cs.berkeley.edu/~matei/papers/2012/nsdi_spark.pdf) * [Paper Describing the Spark System](http://www.cs.berkeley.edu/~matei/papers/2012/nsdi_spark.pdf)
* [Mailing List](http://groups.google.com/group/spark-users)
# Community # Community
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment