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

"export { XXXX };" does not get API documented #442

Open
ibc opened this issue Jul 21, 2017 · 1 comment · May be fixed by #511
Open

"export { XXXX };" does not get API documented #442

ibc opened this issue Jul 21, 2017 · 1 comment · May be fixed by #511

Comments

@ibc
Copy link

ibc commented Jul 21, 2017

My main index.js file has this:

import Room from './Room';

/**
 * Expose the Room class.
 */
export { Room };

However such a exported Room does not appear in the generated documentation (in the index.html itself).

Yes, still I can go to the Room documentation page which, at the top, displays import Room from 'myproject/lib/Room.js'. But I don't want to expose that way of importing this class (related to #441).

@ibc
Copy link
Author

ibc commented Jul 22, 2017

Even worse:

export { Room as Foo };

Such a exported Foo is not documented anywhere in the HTML generated by ESDoc.

It seems that ESDoc is just focused on documenting whichever classes or modules it finds in any file rather than documenting what the library/app/code really exposes.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant