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

Add typescript documentation #28

Closed
wants to merge 9 commits into from
Closed

Add typescript documentation #28

wants to merge 9 commits into from

Conversation

ArtemKolichenkov
Copy link

Closes #15

This PR sets up TypeDoc to automatically generate docs from JSDOC/TSDOC strings.

There are some small issues like TypeDoc mistakenly assuming source files are "External". For now I'm just hacking the Handlebars theme to solve it (could find any working solution in TypeDoc's github issues).

Also for now docs are generated by npm run docs-build, would be nice to plug it into CI, but that's another issue altogether.

One "side-effect" in this PR is that I change Options type declaration in core.ts from Type to Interface. Types don't generate proper documentation automatically and Type is supposed to be just for aliases in recent TS revisions, Interfaces are used for most things nowadays. (see this and this)

You can see docs and in my fork, just go to /docs directory.
Feel free to suggest changes. :)

@ArtemKolichenkov
Copy link
Author

Added issues #29 and #30 to not forget about it.

@ArtemKolichenkov ArtemKolichenkov closed this by deleting the head repository Nov 29, 2022
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 this pull request may close these issues.

Automatically generate documentation file using tsdoc
1 participant