You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm curious if there's any plans on the horizon to support HTML docs generation from within the WASM/JS implementation. Not sure if this is even possible... so forgive me if I sound like a noob, but being able to generate HTML docs programmatically would be a dream come true.
My primary need for a feature like this is probably a bit niche. But it's for a custom GPT I'm currently working on, which uses an external API endpoint to provide users with the in-chat capabilities to format users code, write them a README, and hopefully generate a static HTML site for their documentation.
The API endpoint runs on Deno Deploy, so it goes without saying I don't have access to the CLI features. I've got the formatting worked out with the deno_fmt module I published somewhat recently (forgive the shameless plug), but the HTML docs aspect of it has me a bit stuck. Having a feature like this would save me quite a bit of time and energy, so I don't have to re-invent the wheel and write my own HTML codegen from the deno doc JSON.
I assume it would have to be outputted similarly to the doc() output, or the transpile() output from deno_emit (mapping file paths to code), since accessing the local file system would be out of its scope.
Like I said, not sure if it's even possible. My knowledge of Rust is severely limited, but I'm looking to fix that this year 😜.
Anyway, that's enough rambling. Thank you for your time!
The text was updated successfully, but these errors were encountered:
Hey Deno Team,
I'm curious if there's any plans on the horizon to support HTML docs generation from within the WASM/JS implementation. Not sure if this is even possible... so forgive me if I sound like a noob, but being able to generate HTML docs programmatically would be a dream come true.
My primary need for a feature like this is probably a bit niche. But it's for a custom GPT I'm currently working on, which uses an external API endpoint to provide users with the in-chat capabilities to format users code, write them a README, and hopefully generate a static HTML site for their documentation.
The API endpoint runs on Deno Deploy, so it goes without saying I don't have access to the CLI features. I've got the formatting worked out with the
deno_fmt
module I published somewhat recently (forgive the shameless plug), but the HTML docs aspect of it has me a bit stuck. Having a feature like this would save me quite a bit of time and energy, so I don't have to re-invent the wheel and write my own HTML codegen from the deno doc JSON.I assume it would have to be outputted similarly to the
doc()
output, or thetranspile()
output fromdeno_emit
(mapping file paths to code), since accessing the local file system would be out of its scope.Like I said, not sure if it's even possible. My knowledge of Rust is severely limited, but I'm looking to fix that this year 😜.
Anyway, that's enough rambling. Thank you for your time!
The text was updated successfully, but these errors were encountered: