summaryrefslogtreecommitdiff
path: root/docs/runtime
diff options
context:
space:
mode:
authorLuca Casonato <lucacasonato@yahoo.com>2020-07-31 11:12:20 +0200
committerGitHub <noreply@github.com>2020-07-31 11:12:20 +0200
commit4afb4b6e46de2ed536a3c9828d70d7799b5b6d03 (patch)
treeaa31f3ea3b5ca01a97e13a777eed51c7dcbd17c4 /docs/runtime
parent6e7208bec2911ac0d1729f334fc90bc50b8f9203 (diff)
feat: add $STD_VERSION replacement variable in docs (#6922)
Diffstat (limited to 'docs/runtime')
-rw-r--r--docs/runtime/compiler_apis.md4
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/runtime/compiler_apis.md b/docs/runtime/compiler_apis.md
index 31d0af2d1..8379d1b0d 100644
--- a/docs/runtime/compiler_apis.md
+++ b/docs/runtime/compiler_apis.md
@@ -48,7 +48,7 @@ could do on the command line. So you could do something like this:
```ts
const [diagnostics, emitMap] = await Deno.compile(
- "https://deno.land/std/examples/welcome.ts",
+ "https://deno.land/std@$STD_VERSION/examples/welcome.ts",
);
```
@@ -95,7 +95,7 @@ could do on the command line. So you could do something like this:
```ts
const [diagnostics, emit] = await Deno.bundle(
- "https://deno.land/std/http/server.ts",
+ "https://deno.land/std@$STD_VERSION/http/server.ts",
);
```