Skip to content

Commit

Permalink
Documentation fixes (#2568)
Browse files Browse the repository at this point in the history
* Add missing word in conventions page

* Correct spelling of 'fails' in standalone-rule page

* Change description of -InputPath parameter

---------

Co-authored-by: Ronald Bosma <ronaldb@infosupport.com>
  • Loading branch information
ronaldbosma and Ronald Bosma authored Sep 29, 2024
1 parent e22ef8a commit 366bb4b
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion docs/commands/PSRule/en-US/Assert-PSRule.md
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ Evaluate items and additionally save the results into a variable `resultRecords`

### -InputPath

Instead of processing objects from the pipeline, import objects file the specified file paths.
Instead of processing objects from the pipeline, import objects from the specified file paths.

```yaml
Type: String[]
Expand Down
2 changes: 1 addition & 1 deletion docs/commands/PSRule/en-US/Get-PSRuleTarget.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ Get target objects from `resources.json`.

### -InputPath

Instead of processing objects from the pipeline, import objects file the specified file paths.
Instead of processing objects from the pipeline, import objects from the specified file paths.

```yaml
Type: String[]
Expand Down
2 changes: 1 addition & 1 deletion docs/commands/PSRule/en-US/Invoke-PSRule.md
Original file line number Diff line number Diff line change
Expand Up @@ -409,7 +409,7 @@ Accept wildcard characters: False

### -InputPath

Instead of processing objects from the pipeline, import objects file the specified file paths.
Instead of processing objects from the pipeline, import objects from the specified file paths.

```yaml
Type: String[]
Expand Down
2 changes: 1 addition & 1 deletion docs/commands/PSRule/en-US/Test-PSRuleTarget.md
Original file line number Diff line number Diff line change
Expand Up @@ -304,7 +304,7 @@ Accept wildcard characters: False

### -InputPath

Instead of processing objects from the pipeline, import objects file the specified file paths.
Instead of processing objects from the pipeline, import objects from the specified file paths.

```yaml
Type: String[]
Expand Down
2 changes: 1 addition & 1 deletion docs/concepts/PSRule/en-US/about_PSRule_Conventions.md
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ Convention block limitations:
- `End` can not use automatic variables except `$PSRule`.
Most methods and properties of `$PSRule` are not available in `End`.

By default, the `Process` block used.
By default, the `Process` block is used.
For example:

```powershell
Expand Down
2 changes: 1 addition & 1 deletion docs/quickstart/standalone-rule.md
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ Before an object can be tested with PSRule, one or more rules must be defined.
Each rule is defined in a file named with the suffix `.Rule.yaml`, `.Rule.jsonc`, or `.Rule.ps1`.
Multiple rules can be defined in a single file.

A rule that fail on files with `.jpg` or `.png` extensions is shown in YAML, JSON, and PowerShell formats.
A rule that fails on files with `.jpg` or `.png` extensions is shown in YAML, JSON, and PowerShell formats.
You only need to choose one format, however you can choose to create all three to try out each format.

=== "YAML"
Expand Down

0 comments on commit 366bb4b

Please sign in to comment.