-
-
Notifications
You must be signed in to change notification settings - Fork 3.1k
New API docs #8449
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
Comments
I have investigated TypeDoc a bit. I did not find a way to make it work with |
I am now investigating ESDoc. Will report here how that goes, but currently I'm stuck with |
ESDoc does not support |
Actually there is hope that we can get things to work with TypeDoc. See TypeStrong/typedoc#643. |
I have submitted TypeStrong/typedoc#824 to make TypeDoc work with |
Looks like even with the above pull request, TypeDoc does not work properly with |
I am trying to make typedoc output something but I only get an empty documentation page:
@ahocevar, do you have a branch somewhere so I have a look to how you did it? |
@gberaudo See https://github.com/openlayers/closure-es-modules/ for an example project. You need to set |
Thanks for your input @ahocevar, it helped a lot. Strangely my issue was coming from the way I invoked
When omitting the source directory it does something (it is specified in
|
In the end, after way too much time spent trying to make TSDoc work for us, I went with JSDoc again. See #8847. |
Have you ever considered using https://documentation.js.org ? I didn't check the features / configurability but we have been using in some smaller projects and we are quite happy with it. |
@marcjansen I have, but it does not work well with modules, and not at all with TypeScript types unfortunately. |
Thanks for the info, @ahocevar |
API doc generation no longer works after #8345. We need to find a new tool chain to generate API docs.
Possible options:
A while ago, @tschaub and I started an effort in the site branch to use the output from
tasks/generate-info.js
as starting point for a Gatsby generated API documentation. This turns out to be a huge effort, almost equivalent to writing an API doc generator from scratch.Investigate tools like ESDoc, TypeDoc or not-yet-available tools that may come out of Microsoft's TSDoc effort.
Generate
*.d.ts
files and see if there are tools to generate documentation from those.Comments and thoughts on these options, or ideas for other options, are much appreciated.
The text was updated successfully, but these errors were encountered: