Skip to content

Commit 4d9bc20

Browse files
authored
Spelling and misc MD fixes (#275)
@ArieHein Thanks again for the assistance.
1 parent 113fc43 commit 4d9bc20

23 files changed

+60
-20
lines changed

reference/docs-conceptual/AIShell/developer/agent-architecture.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ An agent plugin is responsible for managing its own chat history.
4040
This is the implementation of AI Shell. It consists of the following components:
4141

4242
- ReadLine
43-
- Renders (mardown render, stream render, paging render)
43+
- Renders (markdown render, stream render, paging render)
4444
- Plugin management
4545
- Host (a range of utility methods for writing output and interactive prompting)
4646
- Command runner and built-in commands

reference/docs-conceptual/AIShell/developer/create-ollama-agent.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ First step is to create a new classlib project.
4141
### Step 2: Add the necessary packages
4242

4343
Within the newly created project, you need to install the [AIShell.Abstraction][06] package from the
44-
Nuget gallery. Install the Nuget package using the following command:
44+
NuGet gallery. Install the NuGet package using the following command:
4545

4646
```shell
4747
dotnet add package AIShell.Abstraction --version 1.0.0-preview.1
@@ -66,7 +66,7 @@ following XML:
6666
```
6767

6868
> [!IMPORTANT]
69-
> Be sure to check you are on the latest version from the Nuget gallery.
69+
> Be sure to check you are on the latest version from the NuGet gallery.
7070
7171
### Step 3: Implement the agent class
7272

@@ -205,7 +205,7 @@ public sealed class OllamaAgent : ILLMAgent
205205
```
206206

207207
For the initial implementation, the agent to returns "Hello World!" to prove that you created the
208-
correct interfaces. You will also add a `try-catch` block to catch and handle any expections when
208+
correct interfaces. You will also add a `try-catch` block to catch and handle any exceptions when
209209
the user tries to cancel the operation.
210210

211211
Add the following code to your `Chat` method.
@@ -499,4 +499,4 @@ in the `agents` folder of the base directory of `aish.exe`, the agent will be lo
499499
[03]: https://github.com/PowerShell/ProjectMercury/discussions/categories/agent-sharing
500500
[04]: https://github.com/PowerShell/ProjectMercury/shell/agents/AIShell.Ollama.Agent
501501
[05]: https://github.com/PowerShell/ProjectMercury/shell/README.md
502-
[06]: https://www.nuget.org/packages/AIShell.Abstraction/1.0.0-preview.1
502+
[06]: https://www.nuget.org/packages/AIShell.Abstraction/1.0.0-preview.1

reference/docs-conceptual/AIShell/how-to/aishell-reference.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -159,7 +159,7 @@ The following example copies the all the code to a file.
159159
### `/code post`
160160

161161
Post the n-th (1-based) code snippet to the connected command-line shell. Post all the code
162-
when` <n>` isn't specified.
162+
when `<n>` isn't specified.
163163

164164
Usage:
165165

reference/docs-conceptual/Crescendo/advanced/transforming-arguments.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -134,5 +134,5 @@ a username and password for the `net use` command.
134134
}
135135
```
136136

137-
The argument transformer converst the **PSCredential** object to `/USER:username password` for the
137+
The argument transformer converts the **PSCredential** object to `/USER:username password` for the
138138
`net use` command.

reference/docs-conceptual/PSScriptAnalyzer/Rules/AvoidGlobalFunctions.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@ title: AvoidGlobalFunctions
1313
Globally scoped functions override existing functions within the sessions with matching names. This
1414
name collision can cause difficult to debug issues for consumers of modules.
1515

16-
1716
To understand more about scoping, see `Get-Help about_Scopes`.
1817

1918
## How

reference/docs-conceptual/PSScriptAnalyzer/Rules/AvoidUsingCmdletAliases.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ There are also implicit aliases. When PowerShell cannot find the cmdlet name, it
2020
Every PowerShell author learns the actual command names, but different authors learn and use
2121
different aliases. Aliases can make code difficult to read, understand and impact availability.
2222

23-
Using the full command name makes it eaiser to maintain your scripts in the the future.
23+
Using the full command name makes it easier to maintain your scripts in the the future.
2424

2525
Using the full command names also allows for syntax highlighting in sites and applications like
2626
GitHub and Visual Studio Code.

reference/docs-conceptual/PSScriptAnalyzer/Rules/PlaceOpenBrace.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,5 +45,5 @@ Enforce a new line character after an open brace. The default value is true.
4545
#### IgnoreOneLineBlock: bool (Default value is `$true`)
4646

4747
Indicates if open braces in a one line block should be ignored or not. For example,
48-
` $x = if ($true) { 'blah' } else { 'blah blah' }`, if the property is set to true then the rule
48+
`$x = if ($true) { 'blah' } else { 'blah blah' }`, if the property is set to true then the rule
4949
doesn't fire a violation.

reference/docs-conceptual/PSScriptAnalyzer/Rules/PossibleIncorrectUsageOfAssignmentOperator.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ if ($a = Get-Something) # Only execute action if command returns something and a
5252
}
5353
```
5454

55-
## Implicit suppresion using Clang style
55+
## Implicit suppression using Clang style
5656

5757
There are some rare cases where assignment of variable inside an `if` statement is by design.
5858
Instead of suppressing the rule, one can also signal that assignment was intentional by wrapping the

reference/docs-conceptual/PSScriptAnalyzer/Rules/ProvideCommentHelp.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ Rules = @{
3636

3737
### Parameters
3838

39-
- `Enable`: **bool** (Default valus is `$true`)
39+
- `Enable`: **bool** (Default value is `$true`)
4040

4141
Enable or disable the rule during ScriptAnalyzer invocation.
4242

reference/docs-conceptual/PSScriptAnalyzer/Rules/UseApprovedVerbs.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,4 +44,4 @@ function Update-Item
4444
```
4545

4646
<!-- link references -->
47-
[01]: /powershell/scripting/developer/cmdlet/approved-verbs-for-windows-powershell-commands
47+
[01]: /powershell/scripting/developer/cmdlet/approved-verbs-for-windows-powershell-commands

0 commit comments

Comments
 (0)