Skip to content

Commit d11ebaf

Browse files
committed
multiple docs improvements
1 parent 545708d commit d11ebaf

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

41 files changed

+3753
-1509
lines changed

docs/backup/deploying-a-static-site-with-machines.md

Lines changed: 0 additions & 257 deletions
This file was deleted.

docs/getting-started/authentication.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,3 +13,9 @@ lttle login --api https://eu.lttle.cloud <JWT>
1313
```
1414

1515
The only supported region is `eu`.
16+
17+
:::danger EARLY ACCESS
18+
19+
When your JWT token expires, please contact us to get a new one.
20+
21+
:::
Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
---
2+
sidebar_position: 3
3+
---
4+
5+
# Configuring your editor
6+
7+
To be able to benefit from YAML schema validation and autocompletion, we recommend setting up your code editor or IDE as described below.
8+
9+
All lttle resources are defined using YAML files. To get started, we have prepared a YAML schema to facilitate resource creation. You can find it here: [resources.json](https://raw.githubusercontent.com/lttle-cloud/ignition/refs/heads/master/schemas/resources.json) or you can directly reference it via: [resources.lttle.sh](https://resources.lttle.sh).
10+
11+
To make working with YAML files easier, you can set up your code editor or IDE with the following extensions:
12+
13+
## Visual Studio Code
14+
15+
Install the [YAML Language Support from RedHat](https://marketplace.visualstudio.com/items?itemName=redhat.vscode-yaml) extension for better YAML syntax highlighting and validation.
16+
17+
Create in the `.vscode` folder a `settings.json`, file with the following content:
18+
19+
```json
20+
{
21+
"yaml.schemas": {
22+
"https://resources.lttle.sh": "/*.lttle.yaml"
23+
}
24+
}
25+
```
26+
27+
This will also work for Visual Studio Code spinoffs like **Cursor**.
28+
29+
## Other Editors / IDEs
30+
31+
Check your editors documentation on how to add schema definitions for YAML files.
32+
33+
:::info
34+
35+
If you are having trouble setting up your editor, feel free to reach out to us on [Discord](https://discord.gg/xhNGGrZQja).
36+
37+
:::

0 commit comments

Comments
 (0)