Skip to content

Commit 2834029

Browse files
authored
Merge pull request #235 from romanowski/docs/fix-broken-links
Add basics and intro sections
2 parents 075f20e + 1f88a68 commit 2834029

File tree

13 files changed

+33
-18
lines changed

13 files changed

+33
-18
lines changed
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
<!--
2-
File was generated from based on docs/cookbooks/index.md, do not edit manually!
2+
File was generated from based on docs/cookbooks/intro.md, do not edit manually!
33
-->
44

55

66
# Cookbook
77

88
This part contains a set of recipes how to use scala-cli within given situations. The cookbooks are intended to provide a solution to task at hand without providing too many details.
99

10-
For more in-depth analysis please check out provided [Guides](../guides/ide.md)
10+
For more in-depth analysis please check out provided [Guides](../guides/introduction.md)

website/docs/commands/input.md renamed to website/docs/commands/basics.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
title: Inputs
2+
title: Basics
33
sidebar_position: 3
44
---
55

website/docs/commands/run.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ We have a dedicated [Scala.js guide](../guides/scala-js.md).
7070
## Scala Native
7171

7272
Scala Native applications can also be compiled and run, with the `--native` option.
73-
Note that the [Scala Native requirements](https://scala-native.readthedocs.io/en/latest/user/setup.html#installing-clang-and-runtime-dependencies) need to be [installed](install#scala-native) for this to work fine,
73+
Note that the [Scala Native requirements](https://scala-native.readthedocs.io/en/latest/user/setup.html#installing-clang-and-runtime-dependencies) need to be [installed](/install#scala-native) for this to work fine,
7474
and that Scala Native only supports Linux and macOS for now.
7575

7676
```bash

website/docs/commands/test.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ sidebar_position: 7
66
The `test` command allows to run test suites that come from the test sources.
77
Test sources are complied separately (after the 'main' sources) and may use different dependencies, compiler options and other configuration.
88

9-
All command line options applies to the both main and test sources so [using directives](http://localhost:3000/docs/guides/using-directives) (or [special imports](./guides/configuration#special-imports).md) can be used to provide test-specific configuration.
9+
All command line options applies to the both main and test sources so [using directives](http://localhost:3000/docs/guides/using-directives) (or [special imports](../guides/configuration#special-imports).md) can be used to provide test-specific configuration.
1010

1111
## Test sources
1212

website/docs/cookbooks/index.md renamed to website/docs/cookbooks/intro.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,4 +7,4 @@ sidebar_position: 1
77

88
This part contains a set of recipes how to use scala-cli within given situations. The cookbooks are intended to provide a solution to task at hand without providing too many details.
99

10-
For more in-depth analysis please check out provided [Guides](../guides/ide.md)
10+
For more in-depth analysis please check out provided [Guides](../guides/intro.md)

website/docs/guides/configuration.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
title: Configuration
3-
sidebar_position: 20
3+
sidebar_position: 9
44
---
55

66
`scala-cli` can be configured in several ways:

website/docs/guides/dependencies.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
title: Managing dependencies
3-
sidebar_position: 23
3+
sidebar_position: 9
44
---
55

66
# Dependencies

website/docs/guides/intro.md

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
---
2+
title: Introduction
3+
sidebar_position: 1
4+
---
5+
6+
This section guides dedicated various aspects of Scala CLI that applies across various commands.
7+
8+
Our guides covers many aspects that sometimes may be quite detailed that is why we recommend starting:
9+
- [Configuration guide](./configuration.md) - to learn how to configure various options and what style of configuration are best for the given use case
10+
- [Ide guide](./ide.md) - how to import and use Scala CLI-based projects in your favorite IDE\
11+
- [Using directives guide](./using-directives.md) - experimental syntax used to store configuration within .scala or .sc files used in Scala CLI
12+
- [Scala.js](./scala-js.md) and [Scala Native](./scala-native.md) guides - to learn how Scala CLI supports other platforms then JVM
13+
- [sbt/mill export](./sbt-mill.md) guide - to learn how to convert your Scala CLI project into sbt or mill (when you need more powerful build tool)
14+
- [Scripting guide](./scripts.md) covers how Scala CLI allows for powerful scripting with Scala
15+
`

website/docs/guides/sbt-mill.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
title: SBT and Mill
3-
sidebar_position: 11
3+
sidebar_position: 12
44
---
55

66
TODO: Explain how export to sbt/mill works

website/docs/guides/using-directives.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
title: Using directives
3-
sidebar_position: 24
3+
sidebar_position: 11
44
---
55

66
:::warning

0 commit comments

Comments
 (0)