deno_doc icon indicating copy to clipboard operation
deno_doc copied to clipboard

Deno doc inserts incorrect links in html

Open nikelborm opened this issue 8 months ago • 1 comments

I have this repo with reproduction: https://github.com/nikelborm/deno_docs-repro-1

all_symbols page works properly main root page also works as expected
Image Image
All pages from non-default module work properly Pages under default module break
Image Image

On this page links to styles are broken, as well as cool_docs link on the screenshot

This seems to be very trivial issue to fix, because you can just replace all ../ with ../../ and it's enough:

cd docs

find ./index -type f -exec sed -i 's_\.\./_../../_g' {} +
find ./index -type f -exec sed -i 's_\.\./_../../_g' {} +

nikelborm avatar May 13 '25 22:05 nikelborm