Skip to content

Commit b6827bc

Browse files
committed
Update getting started page.
1 parent 842eecd commit b6827bc

1 file changed

Lines changed: 7 additions & 17 deletions

File tree

content/en/docs/Getting started/_index.md

Lines changed: 7 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -4,27 +4,17 @@ description: Quickly get started with Koala Plot
44
weight: 10
55
---
66

7-
### Repositories
8-
9-
Add the mavenCentral and compose repositories to your project's build.gradle.kts
10-
11-
{{% code "/examples/build.gradle.kts" 7 11 %}}
12-
13-
Including ```mavenLocal()``` is optional, if you want to use pre-release builds you create locally.
14-
15-
### Dependencies
16-
17-
Include Koala Plot core as a dependency in your project's build.gradle.kts
18-
19-
{{% code "/examples/build.gradle.kts" 29 29 %}}
20-
21-
You can also see a complete example of a build.gradle.kts in the [samples](https://github.com/KoalaPlot/koalaplot-samples/blob/main/build.gradle.kts).
22-
7+
1. Use the [Kotlin Multiplatform Wizard](https://kmp.jetbrains.com/) to create a new project.
8+
2. Include Koala Plot core as a dependency in your project:
9+
```implementation(io.github.koalaplot:koalaplot-core:<version>)```
2310

2411
### First Plot
2512

2613
The below plots the function \\( y=x^2 \\) with x from 1 to 10:
2714

28-
{{% example "/examples/src/jvmMain/kotlin/io/github/koalaplot/example/Line1.kt" 17 31 %}}
15+
{{% example "/examples/src/jvmMain/kotlin/io/github/koalaplot/example/Line1.kt" 16 32 %}}
2916
![Line1](/docs/xygraphs/line_plots/line1.png)
3017
{{% /example %}}
18+
19+
20+
You can also refer to the [samples project](https://github.com/KoalaPlot/koalaplot-samples) for more examples.

0 commit comments

Comments
 (0)