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 documentation #7

Open
ojkelly opened this issue Feb 26, 2019 · 4 comments
Open

Add documentation #7

ojkelly opened this issue Feb 26, 2019 · 4 comments
Assignees
Labels
enhancement New feature or request

Comments

@ojkelly
Copy link
Contributor

ojkelly commented Feb 26, 2019

We need some documentation explaining the project as a whole and how to use parts.

We also need something like JSDoc to generate documentation for all the functions that we export.

Finally, this needs to be hosted somewhere.

@ojkelly ojkelly added the enhancement New feature or request label Feb 26, 2019
@ojkelly ojkelly self-assigned this Feb 26, 2019
@ojkelly
Copy link
Contributor Author

ojkelly commented Feb 26, 2019

Theres a bunch of JSDoc things, this also looks interesting https://typedoc.org

@thoiberg
Copy link

Typedoc looks good, but unfortunately it uses its own version of Typescript, rather than the version kerosene uses and the current stable version is pinned to Typescript 3.2, which causes problems when it tries to parse the 3.4 syntax (like readonly array) in kerosene.

The latest master branch of Typedoc is using Typescript 3.5 so once that gets released we should be able to add it to the project. However, this raises issues if we would want to use Typedoc at all, given we don't want to be prevented from using improvements in later versions of Typescript if it breaks doc generation.

@ojkelly
Copy link
Contributor Author

ojkelly commented Jun 27, 2019

I wonder if we try going the golang way. Take the comment above the function, and render that.

@nhardy
Copy link
Member

nhardy commented Jun 26, 2023

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants