Skip to content

Commit

Permalink
Updated generated docs-notice in command reference (#263)
Browse files Browse the repository at this point in the history
* Prepend generated docs-note in command references

* Update text and use info-admonition

* Update text based on review

* Place version note under own heading
  • Loading branch information
fflaten authored Mar 28, 2023
1 parent cd0d57e commit cd9d9b5
Show file tree
Hide file tree
Showing 28 changed files with 166 additions and 54 deletions.
8 changes: 6 additions & 2 deletions docs/commands/Add-ShouldOperator.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,10 @@ hide_table_of_contents: false
custom_edit_url: null
---

:::info This page was generated
Contributions are welcome in [Pester-repo](https://github.com/pester/pester).
:::

## SYNOPSIS

Register a Should Operator with Pester
Expand Down Expand Up @@ -160,6 +164,6 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable
[https://pester.dev/docs/commands/Add-ShouldOperator](https://pester.dev/docs/commands/Add-ShouldOperator)
## EDIT THIS PAGE
## VERSION
This page was auto-generated using the comment based help in Pester 5.4.0. To edit the content of this page, change the corresponding help in the [pester/Pester](https://github.com/pester/pester) repository. See our [contribution guide](https://github.com/pester/docs#contributing) for more information.
*This page was generated using comment-based help in [Pester 5.4.0](https://github.com/pester/pester).*
8 changes: 6 additions & 2 deletions docs/commands/AfterAll.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,10 @@ hide_table_of_contents: false
custom_edit_url: null
---

:::info This page was generated
Contributions are welcome in [Pester-repo](https://github.com/pester/pester).
:::

## SYNOPSIS

Defines a series of steps to perform at the end of the current container,
Expand Down Expand Up @@ -101,6 +105,6 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable
[https://pester.dev/docs/usage/setup-and-teardown](https://pester.dev/docs/usage/setup-and-teardown)
## EDIT THIS PAGE
## VERSION
This page was auto-generated using the comment based help in Pester 5.4.0. To edit the content of this page, change the corresponding help in the [pester/Pester](https://github.com/pester/pester) repository. See our [contribution guide](https://github.com/pester/docs#contributing) for more information.
*This page was generated using comment-based help in [Pester 5.4.0](https://github.com/pester/pester).*
8 changes: 6 additions & 2 deletions docs/commands/AfterEach.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,10 @@ hide_table_of_contents: false
custom_edit_url: null
---

:::info This page was generated
Contributions are welcome in [Pester-repo](https://github.com/pester/pester).
:::

## SYNOPSIS

Defines a series of steps to perform at the end of every It block within
Expand Down Expand Up @@ -98,6 +102,6 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable
[https://pester.dev/docs/usage/setup-and-teardown](https://pester.dev/docs/usage/setup-and-teardown)
## EDIT THIS PAGE
## VERSION
This page was auto-generated using the comment based help in Pester 5.4.0. To edit the content of this page, change the corresponding help in the [pester/Pester](https://github.com/pester/pester) repository. See our [contribution guide](https://github.com/pester/docs#contributing) for more information.
*This page was generated using comment-based help in [Pester 5.4.0](https://github.com/pester/pester).*
8 changes: 6 additions & 2 deletions docs/commands/Assert-MockCalled.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,10 @@ hide_table_of_contents: false
custom_edit_url: null
---

:::info This page was generated
Contributions are welcome in [Pester-repo](https://github.com/pester/pester).
:::

## SYNOPSIS

Checks if a Mocked command has been called a certain number of times
Expand Down Expand Up @@ -178,6 +182,6 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable
[https://pester.dev/docs/commands/Assert-MockCalled](https://pester.dev/docs/commands/Assert-MockCalled)
## EDIT THIS PAGE
## VERSION
This page was auto-generated using the comment based help in Pester 5.4.0. To edit the content of this page, change the corresponding help in the [pester/Pester](https://github.com/pester/pester) repository. See our [contribution guide](https://github.com/pester/docs#contributing) for more information.
*This page was generated using comment-based help in [Pester 5.4.0](https://github.com/pester/pester).*
8 changes: 6 additions & 2 deletions docs/commands/Assert-VerifiableMock.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,10 @@ hide_table_of_contents: false
custom_edit_url: null
---

:::info This page was generated
Contributions are welcome in [Pester-repo](https://github.com/pester/pester).
:::

## SYNOPSIS

Checks if all verifiable Mocks has been called at least once.
Expand Down Expand Up @@ -55,6 +59,6 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable

[https://pester.dev/docs/commands/Assert-VerifiableMock](https://pester.dev/docs/commands/Assert-VerifiableMock)

## EDIT THIS PAGE
## VERSION

This page was auto-generated using the comment based help in Pester 5.4.0. To edit the content of this page, change the corresponding help in the [pester/Pester](https://github.com/pester/pester) repository. See our [contribution guide](https://github.com/pester/docs#contributing) for more information.
*This page was generated using comment-based help in [Pester 5.4.0](https://github.com/pester/pester).*
8 changes: 6 additions & 2 deletions docs/commands/BeforeAll.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,10 @@ hide_table_of_contents: false
custom_edit_url: null
---

:::info This page was generated
Contributions are welcome in [Pester-repo](https://github.com/pester/pester).
:::

## SYNOPSIS

Defines a series of steps to perform at the beginning of the current container,
Expand Down Expand Up @@ -110,6 +114,6 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable

[https://pester.dev/docs/usage/setup-and-teardown](https://pester.dev/docs/usage/setup-and-teardown)

## EDIT THIS PAGE
## VERSION

This page was auto-generated using the comment based help in Pester 5.4.0. To edit the content of this page, change the corresponding help in the [pester/Pester](https://github.com/pester/pester) repository. See our [contribution guide](https://github.com/pester/docs#contributing) for more information.
*This page was generated using comment-based help in [Pester 5.4.0](https://github.com/pester/pester).*
8 changes: 6 additions & 2 deletions docs/commands/BeforeDiscovery.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,10 @@ hide_table_of_contents: false
custom_edit_url: null
---

:::info This page was generated
Contributions are welcome in [Pester-repo](https://github.com/pester/pester).
:::

## SYNOPSIS

Runs setup code that is used during Discovery phase.
Expand Down Expand Up @@ -88,6 +92,6 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable
[https://pester.dev/docs/usage/data-driven-tests](https://pester.dev/docs/usage/data-driven-tests)
## EDIT THIS PAGE
## VERSION
This page was auto-generated using the comment based help in Pester 5.4.0. To edit the content of this page, change the corresponding help in the [pester/Pester](https://github.com/pester/pester) repository. See our [contribution guide](https://github.com/pester/docs#contributing) for more information.
*This page was generated using comment-based help in [Pester 5.4.0](https://github.com/pester/pester).*
8 changes: 6 additions & 2 deletions docs/commands/BeforeEach.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,10 @@ hide_table_of_contents: false
custom_edit_url: null
---

:::info This page was generated
Contributions are welcome in [Pester-repo](https://github.com/pester/pester).
:::

## SYNOPSIS

Defines a series of steps to perform at the beginning of every It block within
Expand Down Expand Up @@ -95,6 +99,6 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable
[https://pester.dev/docs/usage/setup-and-teardown](https://pester.dev/docs/usage/setup-and-teardown)
## EDIT THIS PAGE
## VERSION
This page was auto-generated using the comment based help in Pester 5.4.0. To edit the content of this page, change the corresponding help in the [pester/Pester](https://github.com/pester/pester) repository. See our [contribution guide](https://github.com/pester/docs#contributing) for more information.
*This page was generated using comment-based help in [Pester 5.4.0](https://github.com/pester/pester).*
8 changes: 6 additions & 2 deletions docs/commands/Context.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,10 @@ hide_table_of_contents: false
custom_edit_url: null
---

:::info This page was generated
Contributions are welcome in [Pester-repo](https://github.com/pester/pester).
:::

## SYNOPSIS

Provides logical grouping of It blocks within a single Describe block.
Expand Down Expand Up @@ -175,6 +179,6 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable
[https://pester.dev/docs/usage/testdrive](https://pester.dev/docs/usage/testdrive)
## EDIT THIS PAGE
## VERSION
This page was auto-generated using the comment based help in Pester 5.4.0. To edit the content of this page, change the corresponding help in the [pester/Pester](https://github.com/pester/pester) repository. See our [contribution guide](https://github.com/pester/docs#contributing) for more information.
*This page was generated using comment-based help in [Pester 5.4.0](https://github.com/pester/pester).*
8 changes: 6 additions & 2 deletions docs/commands/ConvertTo-JUnitReport.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,10 @@ hide_table_of_contents: false
custom_edit_url: null
---

:::info This page was generated
Contributions are welcome in [Pester-repo](https://github.com/pester/pester).
:::

## SYNOPSIS

Converts a Pester result-object to an JUnit-compatible XML report
Expand Down Expand Up @@ -112,6 +116,6 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable
[https://pester.dev/docs/commands/Invoke-Pester](https://pester.dev/docs/commands/Invoke-Pester)
## EDIT THIS PAGE
## VERSION
This page was auto-generated using the comment based help in Pester 5.4.0. To edit the content of this page, change the corresponding help in the [pester/Pester](https://github.com/pester/pester) repository. See our [contribution guide](https://github.com/pester/docs#contributing) for more information.
*This page was generated using comment-based help in [Pester 5.4.0](https://github.com/pester/pester).*
8 changes: 6 additions & 2 deletions docs/commands/ConvertTo-NUnitReport.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,10 @@ hide_table_of_contents: false
custom_edit_url: null
---

:::info This page was generated
Contributions are welcome in [Pester-repo](https://github.com/pester/pester).
:::

## SYNOPSIS

Converts a Pester result-object to an NUnit 2.5-compatible XML-report
Expand Down Expand Up @@ -112,6 +116,6 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable
[https://pester.dev/docs/commands/Invoke-Pester](https://pester.dev/docs/commands/Invoke-Pester)
## EDIT THIS PAGE
## VERSION
This page was auto-generated using the comment based help in Pester 5.4.0. To edit the content of this page, change the corresponding help in the [pester/Pester](https://github.com/pester/pester) repository. See our [contribution guide](https://github.com/pester/docs#contributing) for more information.
*This page was generated using comment-based help in [Pester 5.4.0](https://github.com/pester/pester).*
8 changes: 6 additions & 2 deletions docs/commands/ConvertTo-Pester4Result.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,10 @@ hide_table_of_contents: false
custom_edit_url: null
---

:::info This page was generated
Contributions are welcome in [Pester-repo](https://github.com/pester/pester).
:::

## SYNOPSIS

Converts a Pester 5 result-object to an Pester 4-compatible object
Expand Down Expand Up @@ -80,6 +84,6 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable
[https://pester.dev/docs/commands/Invoke-Pester](https://pester.dev/docs/commands/Invoke-Pester)
## EDIT THIS PAGE
## VERSION
This page was auto-generated using the comment based help in Pester 5.4.0. To edit the content of this page, change the corresponding help in the [pester/Pester](https://github.com/pester/pester) repository. See our [contribution guide](https://github.com/pester/docs#contributing) for more information.
*This page was generated using comment-based help in [Pester 5.4.0](https://github.com/pester/pester).*
8 changes: 6 additions & 2 deletions docs/commands/Describe.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,10 @@ hide_table_of_contents: false
custom_edit_url: null
---

:::info This page was generated
Contributions are welcome in [Pester-repo](https://github.com/pester/pester).
:::

## SYNOPSIS

Creates a logical group of tests.
Expand Down Expand Up @@ -185,6 +189,6 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable
[https://pester.dev/docs/usage/testdrive](https://pester.dev/docs/usage/testdrive)
## EDIT THIS PAGE
## VERSION
This page was auto-generated using the comment based help in Pester 5.4.0. To edit the content of this page, change the corresponding help in the [pester/Pester](https://github.com/pester/pester) repository. See our [contribution guide](https://github.com/pester/docs#contributing) for more information.
*This page was generated using comment-based help in [Pester 5.4.0](https://github.com/pester/pester).*
8 changes: 6 additions & 2 deletions docs/commands/Export-JUnitReport.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,10 @@ hide_table_of_contents: false
custom_edit_url: null
---

:::info This page was generated
Contributions are welcome in [Pester-repo](https://github.com/pester/pester).
:::

## SYNOPSIS

Exports a Pester result-object to an JUnit-compatible XML-report
Expand Down Expand Up @@ -99,6 +103,6 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable
[https://pester.dev/docs/commands/Invoke-Pester](https://pester.dev/docs/commands/Invoke-Pester)
## EDIT THIS PAGE
## VERSION
This page was auto-generated using the comment based help in Pester 5.4.0. To edit the content of this page, change the corresponding help in the [pester/Pester](https://github.com/pester/pester) repository. See our [contribution guide](https://github.com/pester/docs#contributing) for more information.
*This page was generated using comment-based help in [Pester 5.4.0](https://github.com/pester/pester).*
8 changes: 6 additions & 2 deletions docs/commands/Export-NUnitReport.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,10 @@ hide_table_of_contents: false
custom_edit_url: null
---

:::info This page was generated
Contributions are welcome in [Pester-repo](https://github.com/pester/pester).
:::

## SYNOPSIS

Exports a Pester result-object to an NUnit-compatible XML-report
Expand Down Expand Up @@ -99,6 +103,6 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable
[https://pester.dev/docs/commands/Invoke-Pester](https://pester.dev/docs/commands/Invoke-Pester)
## EDIT THIS PAGE
## VERSION
This page was auto-generated using the comment based help in Pester 5.4.0. To edit the content of this page, change the corresponding help in the [pester/Pester](https://github.com/pester/pester) repository. See our [contribution guide](https://github.com/pester/docs#contributing) for more information.
*This page was generated using comment-based help in [Pester 5.4.0](https://github.com/pester/pester).*
8 changes: 6 additions & 2 deletions docs/commands/Get-ShouldOperator.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,10 @@ hide_table_of_contents: false
custom_edit_url: null
---

:::info This page was generated
Contributions are welcome in [Pester-repo](https://github.com/pester/pester).
:::

## SYNOPSIS

Display the assertion operators available for use with Should.
Expand Down Expand Up @@ -88,6 +92,6 @@ standard PowerShell discovery patterns (like `Get-Help Should -Parameter *`).

[https://pester.dev/docs/commands/Should](https://pester.dev/docs/commands/Should)

## EDIT THIS PAGE
## VERSION

This page was auto-generated using the comment based help in Pester 5.4.0. To edit the content of this page, change the corresponding help in the [pester/Pester](https://github.com/pester/pester) repository. See our [contribution guide](https://github.com/pester/docs#contributing) for more information.
*This page was generated using comment-based help in [Pester 5.4.0](https://github.com/pester/pester).*
8 changes: 6 additions & 2 deletions docs/commands/InModuleScope.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,10 @@ hide_table_of_contents: false
custom_edit_url: null
---

:::info This page was generated
Contributions are welcome in [Pester-repo](https://github.com/pester/pester).
:::

## SYNOPSIS

Allows you to execute parts of a test script within the
Expand Down Expand Up @@ -198,6 +202,6 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable
[https://pester.dev/docs/commands/InModuleScope](https://pester.dev/docs/commands/InModuleScope)
## EDIT THIS PAGE
## VERSION
This page was auto-generated using the comment based help in Pester 5.4.0. To edit the content of this page, change the corresponding help in the [pester/Pester](https://github.com/pester/pester) repository. See our [contribution guide](https://github.com/pester/docs#contributing) for more information.
*This page was generated using comment-based help in [Pester 5.4.0](https://github.com/pester/pester).*
8 changes: 6 additions & 2 deletions docs/commands/Invoke-Pester.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,10 @@ hide_table_of_contents: false
custom_edit_url: null
---

:::info This page was generated
Contributions are welcome in [Pester-repo](https://github.com/pester/pester).
:::

## SYNOPSIS

Runs Pester tests
Expand Down Expand Up @@ -647,6 +651,6 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable
[https://pester.dev/docs/quick-start](https://pester.dev/docs/quick-start)
## EDIT THIS PAGE
## VERSION
This page was auto-generated using the comment based help in Pester 5.4.0. To edit the content of this page, change the corresponding help in the [pester/Pester](https://github.com/pester/pester) repository. See our [contribution guide](https://github.com/pester/docs#contributing) for more information.
*This page was generated using comment-based help in [Pester 5.4.0](https://github.com/pester/pester).*
8 changes: 6 additions & 2 deletions docs/commands/It.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,10 @@ hide_table_of_contents: false
custom_edit_url: null
---

:::info This page was generated
Contributions are welcome in [Pester-repo](https://github.com/pester/pester).
:::

## SYNOPSIS

Validates the results of a test inside of a Describe block.
Expand Down Expand Up @@ -259,6 +263,6 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable
[https://pester.dev/docs/commands/Set-ItResult](https://pester.dev/docs/commands/Set-ItResult)
## EDIT THIS PAGE
## VERSION
This page was auto-generated using the comment based help in Pester 5.4.0. To edit the content of this page, change the corresponding help in the [pester/Pester](https://github.com/pester/pester) repository. See our [contribution guide](https://github.com/pester/docs#contributing) for more information.
*This page was generated using comment-based help in [Pester 5.4.0](https://github.com/pester/pester).*
8 changes: 6 additions & 2 deletions docs/commands/Mock.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,10 @@ hide_table_of_contents: false
custom_edit_url: null
---

:::info This page was generated
Contributions are welcome in [Pester-repo](https://github.com/pester/pester).
:::

## SYNOPSIS

Mocks the behavior of an existing command with an alternate
Expand Down Expand Up @@ -333,6 +337,6 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable
[https://pester.dev/docs/usage/mocking](https://pester.dev/docs/usage/mocking)
## EDIT THIS PAGE
## VERSION
This page was auto-generated using the comment based help in Pester 5.4.0. To edit the content of this page, change the corresponding help in the [pester/Pester](https://github.com/pester/pester) repository. See our [contribution guide](https://github.com/pester/docs#contributing) for more information.
*This page was generated using comment-based help in [Pester 5.4.0](https://github.com/pester/pester).*
Loading

0 comments on commit cd9d9b5

Please sign in to comment.