denoland / docland

The documentation generation website for Deno
https://doc.deno.land
MIT License
120 stars 29 forks source link

Support npm modules #116

Open ry opened 2 years ago

ry commented 2 years ago

https://doc.deno.land/npm:express@4

kitsonk commented 2 years ago

Outside of potentially aliasing, what is wrong with the current support?

https://doc.deno.land/https://esm.sh/preact@10

alexgleason commented 1 year ago

I'm writing my own Deno modules that use npm specifiers as dependencies. Now that this is officially supported and works pretty well, it would be good if we could generate docs from it.

alexgleason commented 1 year ago

The deno doc command works, so I assumed it work work here. I tried bumping the deno_doc version to no avail. It's because of this comment here: https://github.com/denoland/deno_doc/issues/316#issuecomment-1408946985

deno_doc has no concept of npm dependencies at the moment. All that functionality is only in the CLI.