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

baseUrl does not affect module names #1294

Closed
TheBrokenRail opened this issue May 4, 2020 · 1 comment · Fixed by #1313
Closed

baseUrl does not affect module names #1294

TheBrokenRail opened this issue May 4, 2020 · 1 comment · Fixed by #1313
Labels
enhancement Improved functionality

Comments

@TheBrokenRail
Copy link
Contributor

Search terms

baseUrl, module, name, directory

Folder Structure

src/
    a/
        a.ts
        b.ts
        c.ts

baseUrl = src

Actual Behavior

Modules are displayed as:

a
b
c

Expected Behavior

Using baseUrl:

a/a
a/b
a/c

Steps to reproduce the bug

Create similar file structure with baseUrl and run TypeDoc.

Environment

  • Typedoc version: Latest
  • TypeScript version: Builtin To TypeDoc
  • Node.js version: 10.19.0
  • OS: Ubuntu 20.04
@TheBrokenRail TheBrokenRail added the bug Functionality does not match expectation label May 4, 2020
@Gerrit0 Gerrit0 added enhancement Improved functionality and removed bug Functionality does not match expectation labels May 17, 2020
@Gerrit0
Copy link
Collaborator

Gerrit0 commented May 17, 2020

TypeScript version: Builtin To TypeDoc

This does not exist. TypeScript is a peer dependency and is no longer built in in the latest version.

I'm marking this as an enhancement as TypeDoc's current behavior is intended, but I think using baseUrl to determine names makes sense.

Gerrit0 pushed a commit that referenced this issue Jun 29, 2020
* Fix #1294
* Update DynamicModulePlugin.ts
* Update SourcePlugin.ts
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Improved functionality
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants