-
Notifications
You must be signed in to change notification settings - Fork 61
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
Automate docs with eslint-doc-generator #330
Conversation
Thanks for pushing this. A while ago there was a similar request here from @edg2s. Can you elaborate what |
eeeeaca
to
955392c
Compare
@lo1tuma thanks for calling that out. I haven't fully reviewed the differences between eslint-docgen and my tool eslint-doc-generator yet. A few of the bigger differences I see so far:
Obviously, I'm biased since I'm actively developing eslint-doc-generator right now. Regardless of which you choose, it looks like there could be an opportunity for the two tools to learn from each other. |
@lo1tuma I've added a |
ebc3554
to
ae806a7
Compare
f952bef
to
718de49
Compare
Just a heads up that this PR is still ready. I'm just updating it whenever I publish a new version of the tool. |
718de49
to
7de9c89
Compare
@bmish sorry for the late response and thanks for the contribution, I’m definitely interested to generate at least some part of the documentation automatically. Unfortunately I didn’t find enough time yet to take a closer look. I hope I will get to it in the next days. |
1866fd7
to
4272afb
Compare
b66350f
to
d977069
Compare
eslint-doc-generator has hit version 1.0.0 🎉. Now is a good time to consider it. |
d977069
to
6be5c0f
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sorry again for the late response. I finally found some time to take a closer look. The generated part of the docs looks awesome and it is really cool to have the --check
option, so we don’t forget about it.
Thank you very much for this contribution.
I built this CLI tool eslint-doc-generator for automating the generation of the README rules list table and rule doc title/notices for ESLint plugins. It follows common documentation conventions from this and other top ESLint plugins and will help us standardize documentation across ESLint plugins (and generally improve the usability of custom rules through better documentation and streamline the process of adding new rules). It has 100% test coverage.