denoland / doc_website

Archived. New version at https://github.com/denoland/docland
https://doc.deno.land/
MIT License
194 stars 42 forks source link

A internal server error occured while generating the documentation. #216

Open chris70000 opened 3 years ago

chris70000 commented 3 years ago

Screenshot 2021-07-09 at 9 59 33 PM Download https://github.com/denoland/deno/releases/latest/download/lib.deno.d.ts Download https://github.com/denoland/deno/releases/download/v1.11.5/lib.deno.d.ts Download https://github-releases.githubusercontent.com/133442384/e113c280-db4f-11eb-812a-a24c5b320551?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAIWNJYAX4CSVEH53A%2F20210709%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20210709T185156Z&X-Amz-Expires=300&X-Amz-Signature=a8b7d8356503b65339593de57c1d61657ca0ea725610ff114bfd3ed9cdf89a83&X-Amz-SignedHeaders=host&actor_id=0&key_id=0&repo_id=133442384&response-content-disposition=attachment%3B%20filename%3Dlib.deno.d.ts&response-content-type=application%2Foctet-stream error: An unsupported media type was attempted to be imported as a module. Specifier: https://github-releases.githubusercontent.com/133442384/e113c280-db4f-11eb-812a-a24c5b320551?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAIWNJYAX4CSVEH53A%2F20210709%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20210709T185156Z&X-Amz-Expires=300&X-Amz-Signature=a8b7d8356503b65339593de57c1d61657ca0ea725610ff114bfd3ed9cdf89a83&X-Amz-SignedHeaders=host&actor_id=0&key_id=0&repo_id=133442384&response-content-disposition=attachment%3B%20filename%3Dlib.deno.d.ts&response-content-type=application%2Foctet-stream MediaType: Unknown

kt3k commented 3 years ago

The url https://github.com/denoland/deno/releases/latest/download/lib.deno.d.ts has the content type application/octet-stream and therefore deno doc cannot understand the file type of the url. So this error is something intentional.

If you look for the builtin API docs of the latest deno runtime, please see this page https://doc.deno.land/builtin/stable