denoland / dotland

[Archived] deno.land website
https://deno.land
MIT License
957 stars 626 forks source link

Show examples deno.land documentation rendering #2566

Closed baetheus closed 1 year ago

baetheus commented 1 year ago

I maintain a Deno "library" with many entrypoints here. One of the things I'd like to do is document the overall usage and paradigm of each file in its heading using the jsdoc @module tag. This sort of works with deno.land but it seems that the module information is truncated to only the first paragraph. And example is:

Is it possible to have deno.land/x modules render documentation more in line with doc.deno.land?

crowlKats commented 1 year ago

i dont see anything being truncated on either; the only difference is that deno.land/x/ currently doesnt render examples, which is something we do want to add

baetheus commented 1 year ago

@crowlKats That tracks. I did a quick search and couldn't find a ticket for rendering examples. If you want I can adjust the title of this ticket to cover adding examples rendering, otherwise it seems this should be closed.

crowlKats commented 1 year ago

Example rendering has been implemented.