You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Fix issues with Build-Wiki and add Wiki documentation to CONTRIBUTING.md's Release section (#311)
Fixed some issues with `Build-Wiki`:
* Ensured that `Home.md` is not incorrectly categorized as deprecated.
* Fixed how we check for `platyPS` being installed.
* Fixed how we reference files in `Move-Item` to solve the issue when the file being moved is new.
* Added warning/reminder to run this under `PS7+` to avoid issue with how multi-line examples get formatted.
Also added Wiki updating instructions to the release section of `CONTRIBUTING.md`.
Copy file name to clipboardExpand all lines: build/scripts/Build-Wiki.ps1
+9-3Lines changed: 9 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -344,6 +344,11 @@ Set-StrictMode -Version 1.0
344
344
345
345
$Path=Resolve-Path-Path $Path
346
346
347
+
if ($PSVersionTable.PSVersion.Major-lt7)
348
+
{
349
+
Write-Warning'It is recommended to run this with PowerShell 7+, as platyPS has a bug which doesn''t properly handle multi-line examples when run on older vesrions of PowerShell.'
0 commit comments