diff options
author | takutoaoi <47185462+takutoaoi@users.noreply.github.com> | 2020-07-23 23:05:36 +0900 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-07-23 10:05:36 -0400 |
commit | 090455936c892b6f2dfa425be9b1cdfb4c63af4a (patch) | |
tree | ecc1450b58a65419cbac19ac87fecb4cdc95a65a | |
parent | b449964d1a8d87d53350c0f9adcf1227e6fd3eef (diff) |
docs: Fix broken links (#6853)
-rw-r--r-- | docs/examples/os_signals.md | 2 | ||||
-rw-r--r-- | docs/runtime.md | 14 | ||||
-rw-r--r-- | docs/runtime/stability.md | 2 | ||||
-rw-r--r-- | docs/standard_library.md | 2 |
4 files changed, 10 insertions, 10 deletions
diff --git a/docs/examples/os_signals.md b/docs/examples/os_signals.md index 7fbe8503b..225d7301a 100644 --- a/docs/examples/os_signals.md +++ b/docs/examples/os_signals.md @@ -3,7 +3,7 @@ > This program makes use of an unstable Deno feature. Learn more about > [unstable features](../runtime/stability.md). -[API Reference](https://doc.deno.land/https/raw.githubusercontent.com/denoland/deno/master/cli/js/lib.deno.unstable.d.ts#Deno.signal) +[API Reference](https://doc.deno.land/https/raw.githubusercontent.com/denoland/deno/master/cli/dts/lib.deno.unstable.d.ts#Deno.signal) You can use `Deno.signal()` function for handling OS signals. diff --git a/docs/runtime.md b/docs/runtime.md index 50cca6def..2b9d66263 100644 --- a/docs/runtime.md +++ b/docs/runtime.md @@ -10,19 +10,19 @@ For APIs where a web standard already exists, like `fetch` for HTTP requests, Deno uses these rather than inventing a new proprietary API. The detailed documentation for implemented Web APIs can be found on -[doc.deno.land](https://doc.deno.land/https/raw.githubusercontent.com/denoland/deno/master/cli/js/lib.deno.shared_globals.d.ts). +[doc.deno.land](https://doc.deno.land/https/raw.githubusercontent.com/denoland/deno/master/cli/dts/lib.deno.shared_globals.d.ts). Additionally, a full list of the Web APIs which Deno implements is also available -[in the repository](https://github.com/denoland/deno/blob/master/cli/js/web/README.md). +[in the repository](https://github.com/denoland/deno/blob/master/cli/js2/README.md). The TypeScript definitions for the implemented web APIs can be found in the -[`lib.deno.shared_globals.d.ts`](https://github.com/denoland/deno/blob/master/cli/js/lib.deno.shared_globals.d.ts) +[`lib.deno.shared_globals.d.ts`](https://github.com/denoland/deno/blob/master/cli/dts/lib.deno.shared_globals.d.ts) and -[`lib.deno.window.d.ts`](https://github.com/denoland/deno/blob/master/cli/js/lib.deno.window.d.ts) +[`lib.deno.window.d.ts`](https://github.com/denoland/deno/blob/master/cli/dts/lib.deno.window.d.ts) files. Definitions that are specific to workers can be found in the -[`lib.deno.worker.d.ts`](https://github.com/denoland/deno/blob/master/cli/js/lib.deno.worker.d.ts) +[`lib.deno.worker.d.ts`](https://github.com/denoland/deno/blob/master/cli/dts/lib.deno.worker.d.ts) file. ## `Deno` global @@ -32,8 +32,8 @@ It has the APIs for reading from files, opening TCP sockets, and executing subprocesses, etc. The TypeScript definitions for the Deno namespaces can be found in the -[`lib.deno.ns.d.ts`](https://github.com/denoland/deno/blob/master/cli/js/lib.deno.ns.d.ts) +[`lib.deno.ns.d.ts`](https://github.com/denoland/deno/blob/master/cli/dts/lib.deno.ns.d.ts) file. The documentation for all of the Deno specific APIs can be found on -[doc.deno.land](https://doc.deno.land/https/raw.githubusercontent.com/denoland/deno/master/cli/js/lib.deno.ns.d.ts). +[doc.deno.land](https://doc.deno.land/https/raw.githubusercontent.com/denoland/deno/master/cli/dts/lib.deno.ns.d.ts). diff --git a/docs/runtime/stability.md b/docs/runtime/stability.md index 298a788d4..6bb60ae5c 100644 --- a/docs/runtime/stability.md +++ b/docs/runtime/stability.md @@ -15,7 +15,7 @@ Passing this flag does a few things: - It enables the use of unstable APIs during runtime. - It adds the - [`lib.deno.unstable.d.ts`](https://doc.deno.land/https/raw.githubusercontent.com/denoland/deno/master/cli/js/lib.deno.unstable.d.ts) + [`lib.deno.unstable.d.ts`](https://doc.deno.land/https/raw.githubusercontent.com/denoland/deno/master/cli/dts/lib.deno.unstable.d.ts) file to the list of TypeScript definitions that are used for type checking. This includes the output of `deno types`. diff --git a/docs/standard_library.md b/docs/standard_library.md index fd1a5e8e8..6f11a68d6 100644 --- a/docs/standard_library.md +++ b/docs/standard_library.md @@ -69,7 +69,7 @@ deno run --allow-read --allow-write --unstable main.ts ``` To make sure that API producing error is unstable check -[`lib.deno.unstable.d.ts`](https://github.com/denoland/deno/blob/master/cli/js/lib.deno.unstable.d.ts) +[`lib.deno.unstable.d.ts`](https://github.com/denoland/deno/blob/master/cli/dts/lib.deno.unstable.d.ts) declaration. This problem should be fixed in the near future. Feel free to omit the flag if |