Skip to content

Commit 359f98f

Browse files
authoredOct 5, 2021
Fixes #1720 - move rule docs and update tests (#1724)
* Fixes #1720 - move rule docs and update tests * Update build for new location of cmdlet docs
1 parent 00bea7a commit 359f98f

File tree

72 files changed

+2
-2
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

72 files changed

+2
-2
lines changed
 

‎Tests/Documentation/RuleDocumentation.tests.ps1

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
Describe "Validate rule documentation files" {
22
BeforeAll {
3-
$ruleDocDirectory = Join-Path $PSScriptRoot '../../RuleDocumentation'
3+
$ruleDocDirectory = Join-Path $PSScriptRoot '../../docs/Rules'
44
$docs = Get-ChildItem $ruleDocDirectory/*.md -Exclude README.md |
55
ForEach-Object { "PS" + $_.BaseName} | Sort-Object
66

‎build.psm1

+1-1
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ function Remove-Build
102102
function Start-DocumentationBuild
103103
{
104104
$docsPath = Join-Path $projectRoot docs
105-
$markdownDocsPath = Join-Path $docsPath markdown
105+
$markdownDocsPath = Join-Path $docsPath Cmdlets
106106
$outputDocsPath = Join-Path $script:destinationDir en-US
107107
$platyPS = Get-Module -ListAvailable platyPS
108108
if ($null -eq $platyPS -or ($platyPS | Sort-Object Version -Descending | Select-Object -First 1).Version -lt [version]0.12)

0 commit comments

Comments
 (0)
Please sign in to comment.