denoland / doc_components

A set of components for rendering deno_doc doc nodes
https://deno-doc-components.deno.dev
MIT License
21 stars 13 forks source link

feat: display multiple symbol kinds as a single symbol #50

Closed crowlKats closed 1 year ago

crowlKats commented 1 year ago

Closes denoland/dotland#2483

Screenshot 2022-11-22 at 13 48 59

Example previews: library index: https://dotland-pcw2qz4nw9s0.deno.dev/api@v1.28.1 library sidepanel: https://dotland-pcw2qz4nw9s0.deno.dev/api@v1.28.1?s=FormData module sidepanel: https://dotland-pcw2qz4nw9s0.deno.dev/x/zod@v3.18.0/mod.ts?s=ZodIssueCode

The only problem with this is that module index (https://dotland-pcw2qz4nw9s0.deno.dev/x/zod@v3.18.0/mod.ts) is sectioned by symbol kind, so it could be weird if we do this there.

kt3k commented 1 year ago

Visually looks great to me