DocTreeGenerator
DocTreeGenerator copied to clipboard
Hyperlinks not being generated for custom functions from other local modules
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.