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

In docs, don't show a "Functions" header if it's not going to have any contents #918

Open
nicolo-ribaudo opened this issue Feb 2, 2025 · 0 comments
Labels
docs gen Related to the documentation generation upstream Issue is in upstream project

Comments

@nicolo-ribaudo
Copy link

https://jsr.io/@babel-test-6ae45912/[email protected]/doc/helpers/arrayWithHoles
Image

This is admittedly a bit of a weird package, as it has no type definitions at all

It also has no exports: it was meant to have exports, but I messed up my publishing script so it ended up publishing as CJS, which from an ESM point of view has no exports. This is however not an unreasonable case, as you might have an actual module that has no exports: it's very common for polyfills.

JSR should not show the "Functions" header, as there are no functions exported by the package.

@github-project-automation github-project-automation bot moved this to Needs Triage in JSR Feb 2, 2025
@crowlKats crowlKats moved this from Needs Triage to Ready in JSR Feb 3, 2025
@crowlKats crowlKats added docs gen Related to the documentation generation upstream Issue is in upstream project labels Feb 3, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
docs gen Related to the documentation generation upstream Issue is in upstream project
Projects
Status: Ready
Development

No branches or pull requests

2 participants