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

Generated docs do not included re-exported namespaced members in 0.20.20 #1493

Closed
madtrick opened this issue Feb 4, 2021 · 3 comments
Closed
Labels
bug Functionality does not match expectation

Comments

@madtrick
Copy link

madtrick commented Feb 4, 2021

Search terms

keywords: export, namespace, re-export

Expected Behavior

//module test/stubs.ts

export function makeStandarResponse () { ... }
export function makeResponseTimings () { ... }
...

//module src/client.ts

export * as stubs from '../test/stubs'
...

When running typedoc src/client.ts with version 0.20.19 the code above would yield:

(root of the api docs 👇 )

image

(inside the stubs namespace 👇 )

image

Actual Behavior

With version 0.20.20 and the same code, typedoc will generate a page without any exported member for the stubs namespace:

image

Steps to reproduce the bug

I use the sametypedoc.js config in both cases:

module.exports = {
  readme: 'none',
  excludeInternal: true
}

As mentioned, I run typedoc like so: typedoc src/client.ts

Environment

  • Typedoc version:
typedoc --version

TypeDoc 0.20.20
Using TypeScript 4.1.3 from /Users/.../repos/work/http-client/node_modules/typescript/lib
  • Node.js version:
node --version
v14.15.1
  • OS: MacOs
@madtrick madtrick added the bug Functionality does not match expectation label Feb 4, 2021
@Sytten
Copy link

Sytten commented Feb 5, 2021

I don't even have the classes on the main page. Like the whole thing is empty where it used to have the classes in previous versions (pre 0.20).

@Gerrit0
Copy link
Collaborator

Gerrit0 commented Feb 5, 2021

Sorry about that! 0.20.21 fixes the repro in the OP.

@madtrick
Copy link
Author

madtrick commented Feb 8, 2021

No worries. Thanks for the quick fix @Gerrit0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Functionality does not match expectation
Projects
None yet
Development

No branches or pull requests

3 participants