deno_doc
deno_doc copied to clipboard
Deno doc inserts incorrect links in html
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 |
|---|---|
| All pages from non-default module work properly | Pages under default module break |
|---|---|
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' {} +
I think this is the same as #685 [deno doc --html generating incorrect url reference in subpages]?