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 am following the “Writing documentation” guide to add JSDoc comments to my code. To see if my documentation is formatted right and links between symbols work, I would like to preview my rendered JSDoc without having to publish a version of my package after each change.
The documentation links to this blog post for additional information. That blog post mentions the deno doc command. However, my project runs on Node.js and uses TSC, thus I cannot use .ts extensions in my imports, which is required by Deno due to denoland/deno#2506. Thus the deno doc command fails with a lot of errors that it cannot find my imports.
Also, someone mentioned in #582 that the docs generated by Deno are different than the ones on JSR, so they are not suitable as a preview.
It would be nice if the docs would show how to generate a preview for the JSDoc as it will be shown on JSR. So far I haven’t found a way to achieve this.
The text was updated successfully, but these errors were encountered:
@birkskyum you can specify the --html flag which will generate html pages that you can navigate. now, it wont be exactly identical, but quite close. it should suffice to get a general idea
I am following the “Writing documentation” guide to add JSDoc comments to my code. To see if my documentation is formatted right and links between symbols work, I would like to preview my rendered JSDoc without having to publish a version of my package after each change.
The documentation links to this blog post for additional information. That blog post mentions the
deno doc
command. However, my project runs on Node.js and uses TSC, thus I cannot use.ts
extensions in my imports, which is required by Deno due to denoland/deno#2506. Thus thedeno doc
command fails with a lot of errors that it cannot find my imports.Also, someone mentioned in #582 that the docs generated by Deno are different than the ones on JSR, so they are not suitable as a preview.
It would be nice if the docs would show how to generate a preview for the JSDoc as it will be shown on JSR. So far I haven’t found a way to achieve this.
The text was updated successfully, but these errors were encountered: