Skip to content

Commit

Permalink
Update zarf.schema.json location URL (#1108)
Browse files Browse the repository at this point in the history
The zarf.schema.json URL is incorrect on this page; it is now found in
raw.githubsercontent.com

Signed-off-by: Jeff McCoy <[email protected]>
  • Loading branch information
spacedan authored and jeff-mccoy committed Dec 12, 2022
1 parent c5d3f67 commit f412a47
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/4-user-guide/4-vscode.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ The [YAML extension](https://marketplace.visualstudio.com/items?itemName=redhat.

```json
"yaml.schemas": {
"https://github.com/defenseunicorns/zarf/raw/main/zarf.schema.json": "zarf.yaml"
"https://raw.githubusercontent.com/defenseunicorns/zarf/main/zarf.schema.json": "zarf.yaml"
}
```

Expand All @@ -26,7 +26,7 @@ In some cases, it may be beneficial to lock a `zarf.yaml`'s validation to a spec
This can be accomplished by adding the below to the **first** line of any given `zarf.yaml`.

```yaml
# yaml-language-server: $schema=https://github.com/defenseunicorns/zarf/raw/<VERSION>/zarf.schema.json
# yaml-language-server: $schema=https://raw.githubusercontent.com/defenseunicorns/zarf/<VERSION>/zarf.schema.json
```

Where `<VERSION>` is one of [Zarf's releases](https://github.com/defenseunicorns/zarf/releases).

0 comments on commit f412a47

Please sign in to comment.