denoland / deno_doc

Documentation generator for Deno
MIT License
261 stars 56 forks source link

fix: all symbols summary and example title #572

Closed kt3k closed 6 months ago

kt3k commented 6 months ago

fixes #565

This PR changes the rendering of 'All symbols' page of local deno_std/bytes/mod.ts like the below (using the command cargo run --example ddoc ../deno_std/bytes/mod.ts --html --output public):

BEFORE

Screenshot 2024-05-08 at 21 08 50

AFTER

Screenshot 2024-05-08 at 21 08 26

Also changes the rendering of @example tag in API page like the below:

BEFORE

Screenshot 2024-05-08 at 21 09 28

AFTER

Screenshot 2024-05-08 at 21 09 52