Skip to content

Commit 705c7ef

Browse files
committed
Update prepare-pages.ps1
1 parent 9bb59ed commit 705c7ef

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

Pipelines/Scripts/prepare-pages.ps1

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,8 @@ parent: $packageFriendlyName
8484
# Create file, add front matter, and copy content
8585
$fileFolder = Join-Path $packageDocsPath ($_.DirectoryName | Split-Path -Leaf)
8686
New-Item -Path $fileFolder -ItemType Directory
87-
$fileDestination = Join-Path $fileFolder $_.Name
87+
# Remove the ~ from the Documentation~ folder name
88+
$fileDestination = Join-Path ($fileFolder.Replace('~', '')) $_.Name
8889
$fileTitle = Select-String -Pattern "# (.+)" -Path $_ | Select-Object -First 1
8990
New-Item -Path $fileDestination -ItemType File -Value @"
9091
---

0 commit comments

Comments
 (0)