Skip to content

Commit e9e45c2

Browse files
committed
update doc index
1 parent 8dd0507 commit e9e45c2

File tree

1 file changed

+15
-7
lines changed

1 file changed

+15
-7
lines changed

docs/index.md

Lines changed: 15 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
---
33

44
This is the documentation of the `introprog` Scala Library with beginner-friendly utilities used in computer science teaching at Lund University.
5-
The code repository is hosted at [[https://github.com/lunduniversity/introprog-scalalib]].
5+
The open source code is hosted at [[https://github.com/lunduniversity/introprog-scalalib]].
66

77
## Package contents
88

@@ -20,21 +20,29 @@ The code repository is hosted at [[https://github.com/lunduniversity/introprog-s
2020

2121
## How to use this library with `sbt`
2222

23-
If you have [sbt](https://www.scala-sbt.org/) version 1.5.2 or later installed then you can put this text in a file called `build.sbt`
23+
If you have [sbt](https://www.scala-sbt.org/) installed then you can put this text in a file called `build.sbt`
2424

2525
```
2626
scalaVersion := "3.0.2"
2727
libraryDependencies += "se.lth.cs" %% "introprog" % "1.3.1"
2828
```
2929

30-
You can find the latest version of introprog-scalalib on [scaladex](https://index.scala-lang.org/lunduniversity/introprog-scalalib/introprog).
31-
32-
When you run `sbt` in a terminal the introprog lib is automatically downloaded and made available on your classpath.
33-
Then you can do things like:
30+
When you run `sbt` in a terminal, with the above in your `build.sbt`, the introprog lib is automatically downloaded and made available on your classpath. Then you can do things like:
3431

3532
```
36-
> sbt
3733
sbt> console
3834
scala> val w = new introprog.PixelWindow()
3935
scala> w.fill(100,100,100,100,java.awt.Color.red)
4036
```
37+
38+
## Manual download
39+
40+
You can also manually download the latest jar file from here:
41+
42+
* Lund University: [http://www.cs.lth.se/pgk/lib](http://www.cs.lth.se/pgk/lib)
43+
44+
* GitHub: [https://github.com/lunduniversity/introprog-scalalib/releases](https://github.com/lunduniversity/introprog-scalalib/releases)
45+
46+
* ScalaDex: [https://index.scala-lang.org/lunduniversity/introprog-scalalib/introprog](https://index.scala-lang.org/lunduniversity/introprog-scalalib/introprog)
47+
48+
* Maven Central: [https://repo1.maven.org/maven2/se/lth/cs/introprog_3/](https://repo1.maven.org/maven2/se/lth/cs/introprog_3/)

0 commit comments

Comments
 (0)