DocTreeGenerator icon indicating copy to clipboard operation
DocTreeGenerator copied to clipboard

Hyperlinks not being generated for custom functions from other local modules

Open msorens opened this issue 8 years ago • 0 comments

One is supposed to be able to introduce a link (.LINK) for either standard PowerShell cmdlets, standard PowerShell topics, or one's own custom functions. The documentation generator correctly recognizes standard items, and links to custom functions in the same module, but it fails on custom functions in a different module. Thus, such an item is just rendered as plain text, with no hyperlink.

Cause: When each module is processed it is loaded, then processed, then unloaded. Thus, its functions are not known when some other module tries to create a link.

msorens avatar Jul 22 '17 23:07 msorens