Skip to content

Commit 3b80809

Browse files
authored
Merge pull request #530 from SethTisue/sbt-not-activator
recommend sbt, not Activator
2 parents 15a13b0 + 05a0ff5 commit 3b80809

File tree

6 files changed

+7
-52
lines changed

6 files changed

+7
-52
lines changed

_layouts/downloadpage.html

Lines changed: 5 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -29,18 +29,12 @@
2929
<div class="bigcircle" style="float: right;">2</div>
3030
<div class="bigcircle-content" style="float: right; margin-top: 32px;">
3131
<p class="center" style="text-align: right;">
32-
<b><a href="http://www.lightbend.com/activator/">Get started with Lightbend Activator</a></b>
32+
<b><a href="http://www.scala-sbt.org/">Get started with sbt</a></b>
3333
<br/>
34-
Lightbend Activator is a browser-based or command-line<br/>
35-
tool that helps developers get started with Scala.
36-
<div class="download-wrapper">
37-
<a id="download-button" class="activator" style="margin-top: 12px; margin-right: 24px; width: 200px;" href="http://downloads.lightbend.com/typesafe-activator/1.2.10/typesafe-activator-1.2.10.zip">
38-
<span class="slider">Download</span>
39-
<span class="activator icon"></span>
40-
<span class="version-long">&nbsp;Lightbend Activator</span>
41-
</a>
42-
<p class="install"><a style="margin-left: 124px;" href="http://www.lightbend.com/activator/download">Need help installing?</a></p>
43-
</div>
34+
sbt is a popular build tool for Scala projects.<br/>
35+
With sbt, you don't need to download and install Scala.<br/>
36+
Just set <code>scalaVersion</code> in your build definition,<br/>
37+
and sbt will retrieve that version.
4438
</p>
4539
</div>
4640
</div>

contribute/documentation.md

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@ title: Documentation Contributions
77
There are several ways you can help out with the improvement of Scala documentation. These include:
88

99
* API Documentation in Scaladoc
10-
* Code examples and tutorials in activator templates.
1110
* Guides, Overviews, Tutorials, Cheat Sheets and more on the docs.scala-lang.org site
1211
* Updating scala-lang.org
1312

@@ -28,13 +27,6 @@ Please *follow the issue submission process closely* to help prevent duplicate i
2827
[submit new Scaladoc](./scala-standard-library-api-documentation.html)
2928
without creating an issue, but please look to see if there is an issue already submitted for your task and claim it if there is. If not, please post your intention to work on a specific scaladoc task on scala-internals so that people know what you are doing.
3029

31-
### Examples/Tutorials in Activator Templates
32-
33-
[Lightbend Activator](https://www.lightbend.com/community/core-tools/activator-and-sbt)
34-
is a tool based on SBT, with a UI mode that is ideal for code based tutorials, overviews and walk-throughs. To contribute an example in activator, you can fork an existing template, edit it, add a tutorial, upload it to github and then submit the github project into the template repository. It's the fastest way to produce a working code example with tutorial.
35-
36-
Please see [Contributing an Activator Template](https://www.lightbend.com/activator/template/contribute) for more details.
37-
3830
### The Main Scala Documentation Site
3931

4032
[docs.scala-lang.org](https://wiki.scala-lang.org/) houses the primary source of written, non-API documentation for Scala. It's a github project that you can fork and submit pull requests from. It includes:

contribute/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ Coordination of contribution efforts takes place on the
2727
<div class="row">
2828
<div class="span4 doc-block">
2929
<h4><a href="./documentation.html">Documentation</a></h4>
30-
<p><a href="./scala-standard-library-api-documentation.html">Scaladoc (API)</a>, <a href="https://www.lightbend.com/activator/template/contribute">Activator templates</a>,
30+
<p><a href="./scala-standard-library-api-documentation.html">Scaladoc (API)</a>,
3131
<a href="http://docs.scala-lang.org/contribute.html">docs.scala-lang.org</a> and
3232
<a href="https://github.com/scala/scala-lang">scala-lang.org</a>.</p>
3333
</div>

news/_posts/2016-03-08-release-notes-2.11.8.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,6 @@ Scala releases are available through a variety of channels, including (but not l
4747
* Download a distribution from [scala-lang.org](http://scala-lang.org/download/2.11.8.html)
4848
* Bump the `scalaVersion` setting in your SBT-based project
4949
* Obtain JARs via [Maven Central](http://search.maven.org/#search%7Cga%7C1%7Cg%3A%22org.scala-lang%22%20AND%20v%3A%222.11.8%22)
50-
* Try the [Hello Scala 2.11 template](https://www.lightbend.com/activator/template/hello-scala-2_11) in [Lightbend Activator](https://www.lightbend.com/activator/download)
5150

5251
### Scala 2.11 Notes
5352

resources/css/main.css

Lines changed: 1 addition & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -254,8 +254,7 @@ a.brand {
254254
padding-left: 20px;
255255
margin-right: 0;
256256
}
257-
#download-button .icon,
258-
#download-button .activator .icon {
257+
#download-button .icon {
259258
width: 26px;
260259
height: 26px;
261260
margin: 7px;
@@ -272,13 +271,6 @@ a.brand {
272271
-o-transform: translateX(0);
273272
transform: translateX(0);
274273
}
275-
#download-button:hover.activator span {
276-
-webkit-transform: translateX(24px);
277-
-moz-transform: translateX(24px);
278-
-ms-transform: translateX(24px);
279-
-o-transform: translateX(24px);
280-
transform: translateX(24px);
281-
}
282274

283275
/* Ideally, we would have only this:
284276
#download-button:hover .icon {
@@ -311,9 +303,6 @@ a.brand {
311303
#download-button.unix:hover .icon {
312304
background-position: -52px -26px;
313305
}
314-
#download-button.activator .icon {
315-
background-position: 0 -26px;
316-
}
317306

318307
#getting-started-popup {
319308
position: fixed;

resources/js/main.js

Lines changed: 0 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -187,30 +187,11 @@ function styleCode() {
187187

188188
$(document).ready(function() {
189189

190-
// get the most up-to-date version of activator
191-
$.getJSON("https://activator-prod.herokuapp.com/latest?callback=?", function(data) {
192-
// update the page with the latest values
193-
if (data.version != undefined) {
194-
var activatorLink = $("#download-button.activator")
195-
activatorLink.prop("href", "http://downloads.lightbend.com/typesafe-activator/" + data.version + "/typesafe-activator-" + data.version + ".zip")
196-
}
197-
})
198-
199190
var os = getOS();
200191
if (os == "Unknown OS") os = "UNIX";
201192

202193
var osLabel = os.replace(/\s/g, '').toLowerCase();
203194

204-
// Removing the automatic download on the front page in favor of a
205-
// link to the download page so people can see that activator is also
206-
// a valid download choice.
207-
// $("#main-download-button").each(function() {
208-
// var unixLink = "{{ site.scala_maindownload_unix }}",
209-
// windowsLink = "{{ site.scala_maindownload_windows }}",
210-
// link = (os == "Windows") ? windowsLink : unixLink;
211-
// $(this).attr("href", link).addClass(osLabel);
212-
// });
213-
214195
// Do not do any of the following if we're not on a download page
215196
// Otherwise a TypeError is raised and disables all other scripts on the page
216197
if ($("#download-button").length == 0)

0 commit comments

Comments
 (0)