dotland icon indicating copy to clipboard operation
dotland copied to clipboard

Improve manual routing

Open kidonng opened this issue 2 years ago • 5 comments

  • Redirect /manual to /manual/introduction, fix #2164
  • Strip .md from manual content to avoid extra redirect requests. This is safe since I checked the manual and didn't find any .md that isn't a internal link.

kidonng avatar Jun 12 '22 20:06 kidonng

Also, I want to propose the idea to always version the manual URL as well (i.e. https://deno.land/manual always redirect to a specific version https://deno.land/[email protected]). The same manual link may show different content as new versions are released, which is not consistent with how the module pages works.

kidonng avatar Jun 16 '22 13:06 kidonng

Without the redirection, the https://deno.land/manual page has numerous broken links. Is this open because the issue is in progress, or should I open a new issue?

lukemcdo avatar Jul 18 '22 19:07 lukemcdo

Hmm, CI encountered 500 on GitHub raw... I think we really should stop importing stuff from GitHub raw and use a CDN (like jsDelivr) instead.

kidonng avatar Jul 27 '22 04:07 kidonng

@kidonng can you rebase? also, could you add a condition that if no version is specified, redirect to latest version?

crowlKats avatar Aug 20 '22 02:08 crowlKats

going to /manual redirects to /[email protected]/introduction, but going to /[email protected] doesnt

crowlKats avatar Aug 20 '22 14:08 crowlKats