Skip to content

Commit

Permalink
update docs
Browse files Browse the repository at this point in the history
Signed-off-by: Ubuntu <weichen.xu@ip-10-110-25-111.us-west-2.compute.internal>
  • Loading branch information
Ubuntu committed Oct 14, 2023
1 parent 4842b01 commit 4cfee19
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
5 changes: 3 additions & 2 deletions docs/_site/quick-start.html
Original file line number Diff line number Diff line change
Expand Up @@ -112,13 +112,13 @@ <h1 id="getting-started-with-apache-spark-and-spark-packages">Getting started wi

<div data-lang="scala">

<figure class="highlight"><pre><code class="language-bash" data-lang="bash"><span class="nv">$ </span>./bin/spark-shell <span class="nt">--packages</span> graphframes:graphframes:0.6.0-spark2.3-s_2.11</code></pre></figure>
<figure class="highlight"><pre><code class="language-bash" data-lang="bash"><span class="nv">$ </span>./bin/spark-shell <span class="nt">--packages</span> graphframes:graphframes:0.8.3-spark3.5-s_2.12</code></pre></figure>

</div>

<div data-lang="python">

<figure class="highlight"><pre><code class="language-bash" data-lang="bash"><span class="nv">$ </span>./bin/pyspark <span class="nt">--packages</span> graphframes:graphframes:0.6.0-spark2.3-s_2.11</code></pre></figure>
<figure class="highlight"><pre><code class="language-bash" data-lang="bash"><span class="nv">$ </span>./bin/pyspark <span class="nt">--packages</span> graphframes:graphframes:0.8.3-spark3.5-s_2.12</code></pre></figure>

</div>

Expand Down Expand Up @@ -200,6 +200,7 @@ <h1 id="start-using-graphframes">Start using GraphFrames</h1>
</div>



</div> <!-- /container -->

<script src="js/vendor/jquery-1.8.0.min.js"></script>
Expand Down
5 changes: 3 additions & 2 deletions docs/quick-start.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,15 +30,15 @@ We use the `--packages` argument to download the graphframes package and any dep
<div data-lang="scala" markdown="1">

{% highlight bash %}
$ ./bin/spark-shell --packages graphframes:graphframes:0.6.0-spark2.3-s_2.11
$ ./bin/spark-shell --packages graphframes:graphframes:0.8.3-spark3.5-s_2.12
{% endhighlight %}

</div>

<div data-lang="python" markdown="1">

{% highlight bash %}
$ ./bin/pyspark --packages graphframes:graphframes:0.6.0-spark2.3-s_2.11
$ ./bin/pyspark --packages graphframes:graphframes:0.8.3-spark3.5-s_2.12
{% endhighlight %}

</div>
Expand Down Expand Up @@ -119,3 +119,4 @@ results.vertices.select("id", "pagerank").show()
</div>

</div>

0 comments on commit 4cfee19

Please sign in to comment.