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

Docs: Document @typescript-eslint/type-utils #8093

Open
2 tasks done
JoshuaKGoldberg opened this issue Dec 18, 2023 · 3 comments · May be fixed by #9294
Open
2 tasks done

Docs: Document @typescript-eslint/type-utils #8093

JoshuaKGoldberg opened this issue Dec 18, 2023 · 3 comments · May be fixed by #9294
Assignees
Labels
documentation Documentation ("docs") that needs adding/updating team assigned A member of the typescript-eslint team should work on this.
Milestone

Comments

@JoshuaKGoldberg
Copy link
Member

Before You File a Documentation Request Please Confirm You Have Done The Following...

Suggested Changes

https://www.npmjs.com/package/@typescript-eslint/type-utils says:

👉 See https://typescript-eslint.io/packages/type-utils for documentation on this package.

https://typescript-eslint.io/packages/type-utils is a 404.

Additionally, #8089 raises a good point: it's not clear whether @typescript-eslint/type-utils is part of our public API...

  • If it is: we should document it and fill in the 404 page
  • If it isn't: we should change its README.md to mention it

Affected URL(s)

https://typescript-eslint.io/packages/type-utils and/or https://www.npmjs.com/package/@typescript-eslint/type-utils

@JoshuaKGoldberg JoshuaKGoldberg added triage Waiting for maintainers to take a look documentation Documentation ("docs") that needs adding/updating labels Dec 18, 2023
@bradzacher
Copy link
Member

It is - we just didn't do a good job of documentation when it was created. The utils package is poorly documented as well. There's an issue for that somewhere too.

@JoshuaKGoldberg JoshuaKGoldberg added accepting prs Go ahead, send a pull request that resolves this issue and removed triage Waiting for maintainers to take a look labels Dec 19, 2023
@JoshuaKGoldberg JoshuaKGoldberg changed the title Docs: Document @typescript-eslint/type-utils as public or private Docs: Document @typescript-eslint/type-utils Dec 19, 2023
@JoshuaKGoldberg JoshuaKGoldberg added this to the 8.0.0 milestone Feb 4, 2024
@JoshuaKGoldberg
Copy link
Member Author

Adding to the v8 milestone to make sure we get to it by then. This isn't a breaking change at all, so it's fine to come in sooner.

@JoshuaKGoldberg JoshuaKGoldberg self-assigned this Jun 6, 2024
@JoshuaKGoldberg JoshuaKGoldberg added team assigned A member of the typescript-eslint team should work on this. and removed accepting prs Go ahead, send a pull request that resolves this issue labels Jun 6, 2024
@JoshuaKGoldberg
Copy link
Member Author

JoshuaKGoldberg commented Jun 6, 2024

There are enough functions in utils and type-utils that IMO if we want to include full docs on the website we should autogenerate the docs - not hand-write them. I found two TypeDoc plugins for Docusaurus that seem feasible:

Trying both out.

Edit: split out into #9298 as a followup issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Documentation ("docs") that needs adding/updating team assigned A member of the typescript-eslint team should work on this.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants