Skip to content

Commit 52d6a16

Browse files
committed
chore: Some minor typos in docs
Signed-off-by: Zaki Shaikh <zashaikh@redhat.com>
1 parent 4f415fb commit 52d6a16

File tree

12 files changed

+56
-48
lines changed

12 files changed

+56
-48
lines changed

.vale.ini

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,6 @@ RedHat.TermsErrors = NO
3232
# Styles to load, located in the `StylesPath` folder:
3333
BasedOnStyles = RedHat, PaaC
3434

35-
# Ignore code surrounded by backticks or plus sign, parameters defaults, URLs.
36-
TokenIgnores = (\x60[^\n\x60]+\x60), ([^\n]+=[^\n]*), (\+[^\n]+\+), (http[^\n]+\[), (\[[^\n]+\])
35+
# Ignore code surrounded by backticks or plus sign, parameters defaults, URLs, Hugo-style shortcode relref.
36+
TokenIgnores = (\x60[^\n\x60]+\x60), ([^\n]+=[^\n]*), (\+[^\n]+\+), (http[^\n]+\[), (\[[^\n]+\]), \(\{\{<\s*relref\s+\"[^\"]+\"\s*>}}\)
3737

.vale/styles/PaaC/Paac.yml

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,19 @@
11
extends: substitution
22
message: Use '%s' instead of '%s'
33
level: error
4-
scope: text
4+
scope: summary
55
nonword: false
66
swap:
77
"Pipeline as Code": Pipelines-as-Code
88
"Pipelines as Code": Pipelines-as-Code
99
"Pipeline-as-Code": Pipelines-as-Code
1010
"GitOPS": GitOps
1111
"globing": globbing
12+
"pipeline run": PipelineRun
13+
pipelinerun: PipelineRun
14+
pipelineRun: PipelineRun
15+
Pipelinerun: PipelineRun
16+
"pipeline runs": PipelineRuns
17+
pipelineruns: PipelineRuns
18+
pipelineRuns: PipelineRuns
19+
Pipelineruns: PipelineRuns

docs/content/docs/blog/release-osp-1.15.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,16 +9,16 @@ OpenShift Pipelines 1.15 presents several new enhancements to Pipelines-as-Code.
99
These commands allow you to make quick comments on a pull request to restart a
1010
PipelineRun through Pipelines-as-Code.
1111

12-
Commonly used commands include `/test` pipelinerun to rerun a specific
13-
pipelinerun, or `/retest` to rerun all PipelineRuns.
12+
Commonly used commands include `/test pipelinerun` to rerun a specific
13+
PipelineRun, or `/retest` to rerun all PipelineRuns.
1414

1515
### Trigger PipelineRuns Irrespective of Annotations
1616

1717
Previously, to re-trigger PipelineRuns, they had to match specific annotations
1818
such as `pipelinesascode.tekton.dev/on-event` set to pull_request. Now, this
1919
constraint is removed, allowing you to trigger any PipelineRuns with `/test`
2020
regardless of their annotation status. This is particularly useful if you need
21-
to run a pipelinerun selectively before merging a PR, without it automatically
21+
to run a PipelineRun selectively before merging a PR, without it automatically
2222
consuming resources with each update.
2323

2424
### Modify Parameters Dynamically via GitOps Commands

docs/content/docs/guide/cli.md

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -11,11 +11,11 @@ Pipelines-as-Code provides a powerful CLI designed to work as a plug-in to the [
1111
* `bootstrap`: quickly bootstrap a Pipelines-as-Code installation.
1212
* `create`: create a new Pipelines-as-Code Repository definition.
1313
* `delete`: delete an existing Pipelines-as-Code Repository definition.
14-
* `generate`: generate a simple pipelinerun to get you started with Pipelines-as-Code.
14+
* `generate`: generate a simple PipelineRun to get you started with Pipelines-as-Code.
1515
* `list`: list Pipelines-as-Code Repositories.
1616
* `logs`: show the logs of a PipelineRun from a Repository CRD.
1717
* `describe`: describe a Pipelines-as-Code Repository and the runs associated with it.
18-
* `resolve`: Resolve a pipelinerun as if it were executed by pipelines as code on service.
18+
* `resolve`: Resolve a PipelineRun as if it were executed by pipelines as code on service.
1919
* `webhook`: Updates webhook secret.
2020
* `info`: Show information (currently only about your installation with `info install`).
2121

@@ -150,7 +150,7 @@ GitHub application and the secret with all the information needed in the
150150
### Repository Creation
151151

152152
`tkn pac create repo` -- Creates a new Pipelines-as-Code `Repository` custom resource definition,
153-
With a Git repository to execute pipelineruns based on Git events. It
153+
With a Git repository to execute PipelineRuns based on Git events. It
154154
will also generate a sample file with a [PipelineRun](/docs/guide/authoringprs)
155155
in the `.tekton` directory called `pipelinerun.yaml` targeting the `main` branch
156156
and the `pull_request` and `push` events. You can customize this by editing the
@@ -192,7 +192,7 @@ On modern terminals (ie: OSX Terminal, [iTerm2](https://iterm2.com/), [Windows
192192
Terminal](https://github.com/microsoft/terminal), GNOME-terminal, kitty, and so
193193
on...) the links become clickable with control+click or ⌘+click (see the
194194
documentation of your terminal for more details) and will open the browser
195-
to the console/dashboard URL to see the details of the Pipelinerun associated
195+
to the console/dashboard URL to see the details of the PipelineRun associated
196196
with it.
197197

198198
{{< /details >}}
@@ -218,7 +218,7 @@ On modern terminals (ie: OSX Terminal, [iTerm2](https://iterm2.com/), [Windows
218218
Terminal](https://github.com/microsoft/terminal), GNOME-terminal, kitty, and so
219219
on...) the links become clickable with control+click or ⌘+click (see the
220220
documentation of your terminal for more details) and will open the browser
221-
to the console/dashboard URL to see the details of the Pipelinerun associated
221+
to the console/dashboard URL to see the details of the PipelineRun associated
222222
with it.
223223

224224
{{< /details >}}
@@ -245,24 +245,24 @@ the logs.
245245

246246
### Generate
247247

248-
`tkn pac generate`: will generate a simple pipelinerun to get you started with
248+
`tkn pac generate`: will generate a simple PipelineRun to get you started with
249249
Pipelines-as-Code. It will try to be as smart as possible by detecting the
250250
current Git information if you run the command from your source code.
251251

252252
It has some basic language detection and adds extra tasks depending on the
253253
language. For example, if it detects a file named `setup.py` at the repository
254254
root it will add the [pylint task](https://hub.tekton.dev/tekton/task/pylint) to
255-
the generated pipelinerun.
255+
the generated PipelineRun.
256256
{{< /details >}}
257257

258258
{{< details "tkn pac resolve" >}}
259259

260260
### Resolve
261261

262-
`tkn-pac resolve`: will run a pipelinerun as if it were executed by pipelines
262+
`tkn-pac resolve`: will run a PipelineRun as if it were executed by pipelines
263263
as code on service.
264264

265-
For example, if you have a pipelinerun in the `.tekton/pull-request.yaml` file
265+
For example, if you have a PipelineRun in the `.tekton/pull-request.yaml` file
266266
you can run the command `tkn-pac resolve` to see it running:
267267

268268
```yaml

docs/content/docs/guide/gitops_commands.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -41,12 +41,12 @@ Please be aware that GitOps commands such as `/test` and others will not functio
4141

4242
If you want to trigger a GitOps command on a pushed commit, you can include the `GitOps` comments within your commit messages. These comments can be used to restart either all pipelines or specific ones. Here's how it works:
4343

44-
For restarting all pipeline runs:
44+
For restarting all PipelineRuns:
4545

4646
1. Use `/retest` or `/test` within your commit message.
4747

48-
For restarting a specific pipeline run:
49-
2. Use `/retest <pipelinerun-name>` or `/test <pipelinerun-name>` within your commit message. Replace `<pipelinerun-name>` with the specific name of the pipeline run you want to restart.
48+
For restarting a specific PipelineRun:
49+
2. Use `/retest <pipelinerun-name>` or `/test <pipelinerun-name>` within your commit message. Replace `<pipelinerun-name>` with the specific name of the PipelineRun you want to restart.
5050

5151
The GitOps command triggers a PipelineRun only on the latest commit (HEAD) of the branch and does not work on older commits.
5252

docs/content/docs/guide/incoming_webhook.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ To use incoming webhooks in Pipelines-as-Code, you must configure the
1515
incoming field in your Repository CRD. This field references a `Secret`, which
1616
serves as the shared secret, as well as the branches targeted by the incoming
1717
webhook. Once configured, Pipelines-as-Code will match `PipelineRuns` located in
18-
your `.tekton` directory if the `on-event` annotation of the targeted pipelinerun is
18+
your `.tekton` directory if the `on-event` annotation of the targeted PipelineRun is
1919
targeting a push or incoming event.
2020

2121
{{< hint info >}}

docs/content/docs/guide/matchingevents.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -283,7 +283,7 @@ If you need to do some advanced matching, `Pipelines-as-Code` supports CEL
283283
expressions to do advanced filtering on the specific event you need to be matched.
284284

285285
{{< hint danger >}}
286-
If you use the `on-cel-expression` annotation in the same pipeline run as an `on-event`, `on-target-branch`, `on-label`, `on-path-change`, or `on-path-change-ignore`
286+
If you use the `on-cel-expression` annotation in the same PipelineRun as an `on-event`, `on-target-branch`, `on-label`, `on-path-change`, or `on-path-change-ignore`
287287
annotation, the `on-cel-expression` annotation takes priority and Pipelines-as-Code ignores the other annotations.
288288
{{< /hint >}}
289289

docs/content/docs/guide/repositorycrd.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,8 @@ You can create the Repository CR using the [tkn pac]({{< relref
2626
"/docs/guide/cli.md" >}}) CLI and its `tkn pac create repository` command or by
2727
applying a YAML file with kubectl:
2828

29-
```yaml
30-
cat <<EOF|kubectl create -n project-repository -f-
29+
```bash
30+
cat <<EOF | kubectl create -n project-repository -f-
3131
apiVersion: "pipelinesascode.tekton.dev/v1alpha1"
3232
kind: Repository
3333
metadata:
@@ -121,7 +121,7 @@ right to merge commits to the default branch can change the PipelineRun and have
121121
access to the infrastructure.
122122
{{< /hint >}}
123123

124-
## Disabling all comments for Pipelineruns on GitLab MR
124+
## Disabling all comments for PipelineRuns on GitLab MR
125125

126126
`comment_strategy` allows you to disable the comments on GitLab MR for a Repository
127127

@@ -132,9 +132,9 @@ spec:
132132
comment_strategy: "disable_all"
133133
```
134134

135-
When you set the value of `comment_strategy` to `disable_all` it will not add any comment on the merge request for the start and the end of pipelinerun
135+
When you set the value of `comment_strategy` to `disable_all` it will not add any comment on the merge request for the start and the end of PipelineRun
136136

137-
## Disabling all comments for Pipelineruns in GitHub Pull Requests on GitHub Webhook Setup
137+
## Disabling all comments for PipelineRuns in GitHub Pull Requests on GitHub Webhook Setup
138138

139139
`comment_strategy` allows you to disable the comments on GitHub PR for a Repository
140140

@@ -163,10 +163,10 @@ When multiple PipelineRuns match the event, they will be started in alphabetical
163163

164164
Example:
165165

166-
If you have three pipelineruns in a .tekton directory, and you create a pull
166+
If you have three PipelineRuns in a .tekton directory, and you create a pull
167167
request with a `concurrency_limit` of 1 in the repository configuration, then all
168-
of the pipelineruns will be executed in alphabetical order, one after the
169-
other. At any given time, only one pipeline run will be in the running state,
168+
of the PipelineRuns will be executed in alphabetical order, one after the
169+
other. At any given time, only one PipelineRun will be in the running state,
170170
while the rest will be queued.
171171

172172
### Kueue - Kubernetes-native Job Queueing

docs/content/docs/guide/resolver.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ The resolver will skip resolving if it sees these type of tasks:
4343
It just uses them "as is" and will not try to do anything with it.
4444

4545
If Pipelines-as-Code cannot resolve the referenced tasks in the `Pipeline` or
46-
`PipelineSpec`, the run will fail before applying the pipelinerun onto the
46+
`PipelineSpec`, the run will fail before applying the PipelineRun onto the
4747
cluster.
4848

4949
You should be able to see the issue on your Git provider platform interface and

docs/content/docs/guide/running.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ pac](../cli/#install) CLI :
109109
tkn pac logs -n my-pipeline-ci -L
110110
```
111111

112-
If you need to show another pipelinerun than the last one you can use the `tkn
112+
If you need to show another PipelineRun than the last one you can use the `tkn
113113
pac` logs command and it will ask you to select a PipelineRun attached to the
114114
repository :
115115

0 commit comments

Comments
 (0)