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

Auto-generate documentation from source code #90

Open
francisfuzz opened this issue Sep 16, 2024 · 2 comments
Open

Auto-generate documentation from source code #90

francisfuzz opened this issue Sep 16, 2024 · 2 comments
Labels
documentation Improvements or additions to documentation maintenance

Comments

@francisfuzz
Copy link
Collaborator

francisfuzz commented Sep 16, 2024

Summary

Thought about this while making docs updates on #81 -- I think it would be neat to explore what it would look like to auto-generate documentation from source code.

Maybe https://typedoc.org/, https://jsdoc.app/, or similar?

@francisfuzz francisfuzz added documentation Improvements or additions to documentation feature New feature or request labels Sep 16, 2024
@gr2m
Copy link
Collaborator

gr2m commented Sep 16, 2024

I tried several paths in the past but never found something that would work well. But it's been a while, maybe there is something new out there.

I think an ideal solution would be a tool that would pares the index.d.ts file and generate markdown API docs from that, and the output could replace a section in the README.md file. But I'd still want control over what we show and what we don't.

Alternatively we could generate the standard API docs as an addition, not a replacement for the existing documentation.

All this to say, feel free to explore if you are interested in the topic, and we see where we get with it.

@gr2m gr2m added maintenance and removed feature New feature or request labels Sep 16, 2024
@francisfuzz
Copy link
Collaborator Author

Thanks @gr2m! I'll think more about this and when I have cycles, I can investigate and post back with any findings. 💭

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

No branches or pull requests

2 participants