Skip to content

Commit 0d9b0c0

Browse files
committed
omit nightly API link from front page
this is of limited interest to most site visitors, and anyway both the 2.11 and 2.12 links are plausible to offer; but offering both would be even more clutter instead, we can just offer a link to the page where all of the versions are available
1 parent 4409a2d commit 0d9b0c0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

_layouts/frontpage2.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -61,8 +61,8 @@ <h2 style="font-weight: 700;">Object-Oriented Meets Functional</h2>
6161
<p class="all-releases"><img src="{{ site.baseurl }}/resources/img/list.png" alt="list icon" /><a href="{{ site.baseurl }}/download/all.html">&nbsp;All Previous Releases</a></p>
6262
</div>
6363
<div class="right-side">
64-
<p class="getting-started"><b>API: </b><a href="http://www.scala-lang.org/api/current/"><b>Current</b></a> | <a href="http://www.scala-lang.org/files/archive/nightly/2.11.x/api/2.11.x/"><b>Nightly</b></a></p>
65-
<p class="dev-releases"><img src="{{ site.baseurl }}/resources/img/list.png" alt="list icon" /><a href="{{ site.baseurl }}/documentation/api.html">&nbsp;All Previous API Docs</a></p>
64+
<p class="getting-started"><a href="http://www.scala-lang.org/api/current/"><b>Current API Docs</b></a></p>
65+
<p class="dev-releases"><img src="{{ site.baseurl }}/resources/img/list.png" alt="list icon" /><a href="{{ site.baseurl }}/documentation/api.html">&nbsp;API Docs (other versions)</a></p>
6666
<p class="dev-releases"><img src="{{ site.baseurl }}/resources/img/books.png" alt="books icon" /><a href="{{ site.baseurl }}/documentation/">&nbsp;Scala Documentation</a></p>
6767
<p class="all-releases"><img src="{{ site.baseurl }}/resources/img/books.png" alt="books icon" /><a href="{{ site.baseurl }}/files/archive/spec/2.11/">&nbsp;Language Specification</a></p>
6868
</div>

0 commit comments

Comments
 (0)