-
Notifications
You must be signed in to change notification settings - Fork 64
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
Reflecting on the last year of deno_doc #111
Comments
We should also consider direct HTML generation in Rust from the structured data. This should be a stretch goal for after we have this structured data though. |
@lucacasonato I played with compiling deno_doc into wasm here: https://github.com/vovacodes/esmdoc it looks like it works just fine, see the deno test for the output wasm: https://github.com/vovacodes/esmdoc/blob/main/wasm_tests/tests.ts I'm happy to bring it back into
|
We have integrated
Could you elaborate more on from the
I have proposed #140. Outside of
Could you clarify this point more? I assume you mean that data should be the derived/inferred "type" information?
I agree with this, post processing of the parameters is yucky. Opened #141 with a proposal.
I am sort of not 100% sure on this one. I guess flattening namespaces would be ok, though I don't specifically think of them as problematic if we solve the reference issue.
I generally agree with this, up to the point where it is still the domain of the printer to structure a "link". Like how to resolve to a global symbol is something the printer should really deal with, I agree "all" of the information needed should be there.
The WASM support is merged and exposes a JavaScript API and is published on
This has been addressed via
Agreed. |
It is time to reflect on the last year of
deno_doc
: what is good, what is bad, and what needs improvements. The main pain point I currently see is this: the doc.deno.land website needs to do a lot of post processing on thedeno doc --json
output to get all the features it wants. I have written down all the features I want indeno doc
directly as concrete goals below:Goals
The high level goal of deno_doc is to take a JS / JS+tsdoc / TS source file, and extract all information from this file that is relevant for documentation of the module, and output it in a structured and easy to consume format. Specifically:
deno_doc
should support compilation to arm64 and x64 on Windows, macOS and Linux, and compilation to WASM.The text was updated successfully, but these errors were encountered: