Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

New-MarkdownHelp doesn't detect all files when given a powershell module #717

Closed
3 tasks done
andynousiainen opened this issue Nov 29, 2024 · 1 comment
Closed
3 tasks done
Labels
Needs-Triage The issue is new and needs to be triaged by a work group.

Comments

@andynousiainen
Copy link

Prerequisites

  • Write a descriptive title.
  • Make sure you are able to repro it on the latest released version
  • Search the existing issues.

Steps to reproduce

New-MarkdownHelp doesn't detect all functions in a given module.

$params = @{
	Module                = "REDACTED"
	OutputFolder          = "./docs/markdown"
	AlphabeticParamsOrder = $true
	WithModulePage        = $true
	ExcludeDontShow       = $true
	Encoding              = [System.Text.Encoding]::UTF8
}
New-MarkdownHelp @params

Expected behavior

Output markdown files for all functions to given OutputFolder.

Actual behavior

Recently added functions are missing from the generated markdown files.

Error details

No response

Environment data

[]PS>Get-Module PlatyPS -ListAvailable

    Directory: C:\Users\redacted\Documents\PowerShell\Modules

ModuleType Version    PreRelease Name                                PSEdition ExportedCommands
---------- -------    ---------- ----                                --------- ----------------
Script     0.14.2                platyPS                             Desk      {New-MarkdownHelp, Get-…

[]PS>$PSVersionTable

Name                           Value
----                           -----
PSVersion                      7.4.5
PSEdition                      Core
GitCommitId                    7.4.5
OS                             Microsoft Windows 10.0.19045
Platform                       Win32NT
PSCompatibleVersions           {1.0, 2.0, 3.0, 4.0…}
PSRemotingProtocolVersion      2.3
SerializationVersion           1.1.0.1
WSManStackVersion              3.0

Visuals

No response

@andynousiainen andynousiainen added the Needs-Triage The issue is new and needs to be triaged by a work group. label Nov 29, 2024
@andynousiainen
Copy link
Author

Problem had nothing to do with the module.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Needs-Triage The issue is new and needs to be triaged by a work group.
Projects
None yet
Development

No branches or pull requests

1 participant