Skip to content

Commit 00384ba

Browse files
Merge pull request #23 from StartAutomating/HelpingMinorBugfix
Helping minor bugfix
2 parents 768e825 + 94dd07a commit 00384ba

11 files changed

Lines changed: 23 additions & 13 deletions

CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
### 0.2.2
2+
* Fixing issue generating docs (#22)
3+
* HelpOut Action Fix (#20)
4+
---
5+
16
### 0.2.1
27
* Get/Save-MarkdownHelp: Support for -SectionOrder (#19)
38
* Save-MarkdownHelp: Adding -Passthru (#17). Converting Markdown Help into a string (#18)

Formatting/PowerShell.Markdown.Help.format.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ Write-FormatView -TypeName PowerShell.Markdown.Help -Action {
4242
""
4343
}
4444

45-
$linkText = if ($nav.LinkText) { $linkText } else {$linkUrl}
45+
$linkText = if ($nav.LinkText) { $nav.linkText } else {$linkUrl}
4646

4747
Format-Markdown -Link $linkUrl -inputObject $linkText -BulletPoint
4848
}

HelpOut.format.ps1xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -155,7 +155,7 @@
155155
""
156156
}
157157

158-
$linkText = if ($nav.LinkText) { $linkText } else {$linkUrl}
158+
$linkText = if ($nav.LinkText) { $nav.linkText } else {$linkUrl}
159159

160160
& ${HelpOut_Format-Markdown} -Link $linkUrl -inputObject $linkText -BulletPoint
161161
}

HelpOut.psd1

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,14 +6,19 @@
66
Author='James Brundage'
77
ModuleToProcess='HelpOut.psm1'
88
FormatsToProcess='HelpOut.format.ps1xml'
9-
ModuleVersion='0.2.1'
9+
ModuleVersion='0.2.2'
1010
PrivateData = @{
1111
PSData = @{
1212
ProjectURI = 'https://github.com/StartAutomating/HelpOut'
1313
LicenseURI = 'https://github.com/StartAutomating/HelpOut/blob/master/LICENSE'
1414

1515
Tags = 'Markdown', 'Help','PowerShell'
1616
ReleaseNotes = @'
17+
### 0.2.2
18+
* Fixing issue generating docs (#22)
19+
* HelpOut Action Fix (#20)
20+
---
21+
1722
### 0.2.1
1823
* Get/Save-MarkdownHelp: Support for -SectionOrder (#19)
1924
* Save-MarkdownHelp: Adding -Passthru (#17). Converting Markdown Help into a string (#18)

docs/ConvertTo-MAML.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@ Gets help for a given command, as MAML (Microsoft Assistance Markup Language) xm
1111

1212
---
1313
### Related Links
14-
* [](https://docs.microsoft.com/powershell/module/Microsoft.PowerShell.Core/Get-Help)
15-
* [](Save-MAML.md)
14+
* [Get-Help](https://docs.microsoft.com/powershell/module/Microsoft.PowerShell.Core/Get-Help)
15+
* [Save-MAML](Save-MAML.md)
1616
---
1717
### Examples
1818
#### EXAMPLE 1

docs/Get-MAML.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@ Gets help for a given command, as MAML (Microsoft Assistance Markup Language) xm
1111

1212
---
1313
### Related Links
14-
* [](https://docs.microsoft.com/powershell/module/Microsoft.PowerShell.Core/Get-Help)
15-
* [](Save-MAML.md)
14+
* [Get-Help](https://docs.microsoft.com/powershell/module/Microsoft.PowerShell.Core/Get-Help)
15+
* [Save-MAML](Save-MAML.md)
1616
---
1717
### Examples
1818
#### EXAMPLE 1

docs/Get-MarkdownHelp.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ Gets Help for a given command, in Markdown
1111

1212
---
1313
### Related Links
14-
* [](Save-MarkdownHelp.md)
14+
* [Save-MarkdownHelp](Save-MarkdownHelp.md)
1515
---
1616
### Examples
1717
#### EXAMPLE 1

docs/Install-MAML.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,8 @@ Ideally, you should use the allcommands script
2020

2121
---
2222
### Related Links
23-
* [](Save-MAML.md)
24-
* [](ConvertTo-MAML.md)
23+
* [Save-MAML](Save-MAML.md)
24+
* [ConvertTo-MAML](ConvertTo-MAML.md)
2525
---
2626
### Examples
2727
#### EXAMPLE 1

docs/Measure-Help.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ Determines the percentage of documentation in a given script
1111

1212
---
1313
### Related Links
14-
* [](https://docs.microsoft.com/powershell/module/Microsoft.PowerShell.Core/Get-Help)
14+
* [Get-Help](https://docs.microsoft.com/powershell/module/Microsoft.PowerShell.Core/Get-Help)
1515
---
1616
### Examples
1717
#### EXAMPLE 1

docs/Save-MAML.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ Generates a Module's MAML file, and then saves it to the appropriate location.
1111

1212
---
1313
### Related Links
14-
* [](Get-MAML.md)
14+
* [Get-MAML](Get-MAML.md)
1515
---
1616
### Examples
1717
#### EXAMPLE 1

0 commit comments

Comments
 (0)