Skip to content

Problem when two modules contain a function with the same name #12

@cfbrobak

Description

@cfbrobak

While trying out DocTreeGenerator, I seem to have found a problem:
DocTreeGenerator imports all modules before extracting documentation from each module. If two modules both contain a function having the same name, only the function from the last module imported is seen by DocTreeGenerator. Message displayed:

** No functions found in ModuleA-v1; (typically this means your functions or cmdlets are not exported)

In the situation above, I had a ModuleA-v2 containing all the same functions as ModuleA-v1.
This case simulates two versions of the same module.

Even if not handling module versions, it is not unlikely for two modules to contain functions having the same name.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions