mirror of
https://github.com/fleschutz/PowerShell.git
synced 2025-08-08 20:54:38 +02:00
Update the manuals in Docs/
This commit is contained in:
@ -56,7 +56,7 @@ try {
|
||||
|
||||
$full = Get-Help $filename -Full
|
||||
|
||||
"## The $ScriptName PowerShell Script"
|
||||
"## The PowerShell Script: $ScriptName"
|
||||
|
||||
$Description = ($full.description | Out-String).Trim()
|
||||
if ($Description -ne "") {
|
||||
@ -120,10 +120,12 @@ try {
|
||||
|
||||
""
|
||||
"## Source Code"
|
||||
"``````powershell"
|
||||
$Lines = Get-Content -path "$filename"
|
||||
foreach($Line in $Lines) {
|
||||
"$Line"
|
||||
}
|
||||
"``````"
|
||||
""
|
||||
"*Generated by convert-ps2md.ps1 using the comment-based help of $ScriptName*"
|
||||
} catch {
|
||||
|
Reference in New Issue
Block a user