Skip to content

Commit 5d6a7f4

Browse files
committedJun 13, 2024·
fix typos
1 parent 99dc305 commit 5d6a7f4

File tree

2 files changed

+9
-9
lines changed

2 files changed

+9
-9
lines changed
 

‎README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -252,7 +252,7 @@ allow_manual_run: true
252252

253253
# UI DSL
254254

255-
Sparky UI DSL allows to programatically descibe UI for Sparky jobs
255+
Sparky UI DSL allows to grammatically describe UI for Sparky jobs
256256
and pass user input into scenario as variables.
257257

258258
Read more at [docs/ui.md](https://github.com/melezhik/sparky/blob/master/docs/ui.md)

‎docs/ui.md

+8-8
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# UI DSL
22

3-
Sparky UI DSL allows to programatically descibe UI for Sparky jobs
3+
Sparky UI DSL allows to grammatically describe UI for Sparky jobs
44
and pass user input into scenario as variables.
55

66
## Simple example
@@ -47,7 +47,7 @@ Sparky job now gets html controls for input parameters:
4747
4848
![build parameters](https://raw.githubusercontent.com/melezhik/sparky/master/images/sparky-web-ui-build-with-params.jpeg)
4949
50-
Whin scenario those parameters are available through `tags()` function:
50+
Whinin scenario those parameters are available through `tags()` function:
5151

5252
```raku
5353
say "Name param passed: ", tags()<Name>;
@@ -87,8 +87,8 @@ Currently following UI controls are supported:
8787

8888
## UI sub tasks
8989

90-
UI sub tasks allow to split complex UI into smaller parts, by specifing `group` term.
91-
Considet this example:
90+
UI sub tasks allow to split complex UI into smaller parts, by specifying `group` term.
91+
Consider this example:
9292

9393
```
9494
vars:
@@ -132,7 +132,7 @@ group_vars:
132132
```
133133

134134
When a user clicks a job page, they'll get a choice of two separate pages, one for
135-
coffee (group coffee) and nother one for tea (group tea) UI with respected UI elements.
135+
coffee (group coffee) and another one for tea (group tea) UI with respected UI elements.
136136

137137

138138
## Templating UI variables
@@ -177,9 +177,9 @@ vars:
177177
```
178178

179179
`*` Where `$hostame` is output of `hostame` command executed on the server that hosts Sparky,
180-
this varibale could be overriden by `HOSTNAME` environment variable
180+
this variable could be overridden by `HOSTNAME` environment variable
181181

182-
Host specific variables always override variable specifed at `SPARKY_ROOT/templates/vars.yaml`
182+
Host specific variables always override variable specified at `SPARKY_ROOT/templates/vars.yaml`
183183

184184
---
185185

@@ -205,7 +205,7 @@ vars:
205205

206206
## Templating tag variables
207207

208-
Tag variables in `sparky.yaml` could use template varibales:
208+
Tag variables in `sparky.yaml` could use template variables:
209209

210210
`vars.yaml`:
211211

0 commit comments

Comments
 (0)
Please sign in to comment.