Skip to content

Commit 4cceed8

Browse files
committed
Fix dead links
fixes microsoft#1400.
1 parent e02dd40 commit 4cceed8

9 files changed

Lines changed: 14 additions & 14 deletions

File tree

docs/Something Went Wrong.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,6 @@ The build to deploy train normally looks like this:
2626

2727
You can deploy `v2` to production anytime via the ["Run workflow" button here](https://github.com/microsoft/TypeScript-Website/actions?query=workflow%3A%22Monday+Website+Push+To+Production%22), so if you have an emergency commit - it goes to `v2` then you can run the action.
2828

29-
App Service apps are configured by [`Web.config`](https://github.com/microsoft/TypeScript-website/blob/92a9585d033e7cf802fae14v22baa73250fd610266/packages/typescriptlang-org/static/Web.config). [Here's a reference on the format](https://hangouts.google.com/call/H553wrJ9d97l2LMpNh9hAEEE). I've seen files (`*.json` & `*.manifest`) be 404s on the site because they were not in the config.
29+
App Service apps are configured by [`Web.config`](https://github.com/microsoft/TypeScript-website/blob/v2/packages/typescriptlang-org/static/Web.config). [Here's a reference on the format](https://hangouts.google.com/call/H553wrJ9d97l2LMpNh9hAEEE). I've seen files (`*.json` & `*.manifest`) be 404s on the site because they were not in the config.
3030

3131
Check the build logs, they are always in [GitHub Actions](https://github.com/microsoft/TypeScript-Website/actions)

packages/create-typescript-playground-plugin/template/CONTRIBUTING.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ Then set up the TypeScript playground to connect to a dev plugin at `http://loca
1212

1313
#### Plugin API
1414

15-
The plugin API is documented in the [interface PlaygroundPlugin in `./src/vendor/playground.d.ts`](src/vendor/playground.d.ts)
15+
The plugin API is documented in the [interface PlaygroundPlugin in `./src/index.ts`](src/index.ts).
1616

1717
Roughly:
1818

@@ -21,7 +21,7 @@ Roughly:
2121

2222
### Sandbox
2323

24-
The plugins are passed copies of the TypeScript sandbox, which is a high level API wrapper to the [`monaco-editor`](https://microsoft.github.io/monaco-editor/). You can learn more about the sandbox on [the TypeScript website](http://www.typescriptlang.org/v2/dev/sandbox/
24+
The plugins are passed copies of the TypeScript sandbox, which is a high level API wrapper to the [`monaco-editor`](https://microsoft.github.io/monaco-editor/). You can learn more about the sandbox on [the TypeScript website](http://www.typescriptlang.org/v2/dev/sandbox/).
2525

2626
#### Rollup
2727

packages/documentation/copy/en/reference/Module Resolution.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -213,13 +213,13 @@ Value of _baseUrl_ is determined as either:
213213

214214
Note that relative module imports are not impacted by setting the baseUrl, as they are always resolved relative to their importing files.
215215

216-
You can find more documentation on baseUrl in [RequireJS](http://requirejs.org/docs/api.html#config-baseUrl) and [SystemJS](https://github.com/systemjs/systemjs/blob/master/docs/api.md#baseurl) documentation.
216+
You can find more documentation on baseUrl in [RequireJS](http://requirejs.org/docs/api.html#config-baseUrl) and [SystemJS](https://github.com/systemjs/systemjs/blob/master/docs/api.md) documentation.
217217

218218
### Path mapping
219219

220220
Sometimes modules are not directly located under _baseUrl_.
221221
For instance, an import to a module `"jquery"` would be translated at runtime to `"node_modules/jquery/dist/jquery.slim.min.js"`.
222-
Loaders use a mapping configuration to map module names to files at run-time, see [RequireJs documentation](http://requirejs.org/docs/api.html#config-paths) and [SystemJS documentation](https://github.com/systemjs/systemjs/blob/master/docs/config-api.md#paths).
222+
Loaders use a mapping configuration to map module names to files at run-time, see [RequireJs documentation](http://requirejs.org/docs/api.html#config-paths) and [SystemJS documentation](https://github.com/systemjs/systemjs/blob/master/docs/import-maps.md).
223223

224224
The TypeScript compiler supports the declaration of such mappings using `"paths"` property in `tsconfig.json` files.
225225
Here is an example for how to specify the `"paths"` property for `jquery`.

packages/documentation/copy/en/reference/Modules.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -576,7 +576,7 @@ x(y);
576576

577577
### Wildcard module declarations
578578

579-
Some module loaders such as [SystemJS](https://github.com/systemjs/systemjs/blob/master/docs/overview.md#plugin-syntax)
579+
Some module loaders such as [SystemJS](https://github.com/systemjs/systemjs/blob/master/docs/module-types.md)
580580
and [AMD](https://github.com/amdjs/amdjs-api/blob/master/LoaderPlugins.md) allow non-JavaScript content to be imported.
581581
These typically use a prefix or suffix to indicate the special loading semantics.
582582
Wildcard module declarations can be used to cover these cases.

packages/documentation/copy/en/release-notes/Overview.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6671,7 +6671,7 @@ import A from "moduleA";
66716671
### Path mapping
66726672
66736673
Sometimes modules are not directly located under _baseUrl_.
6674-
Loaders use a mapping configuration to map module names to files at run-time, see [RequireJs documentation](http://requirejs.org/docs/api.html#config-paths) and [SystemJS documentation](https://github.com/systemjs/systemjs/blob/master/docs/overview.md#map-config).
6674+
Loaders use a mapping configuration to map module names to files at run-time, see [RequireJs documentation](http://requirejs.org/docs/api.html#config-paths) and [SystemJS documentation](https://github.com/systemjs/systemjs/blob/master/docs/import-maps.md).
66756675
66766676
The TypeScript compiler supports the declaration of such mappings using `"paths"` property in `tsconfig.json` files.
66776677
@@ -6754,7 +6754,7 @@ x(y);
67546754
67556755
## Wildcard character in module names
67566756
6757-
Importing none-code resources using module loaders extension (e.g. [AMD](https://github.com/amdjs/amdjs-api/blob/master/LoaderPlugins.md) or [SystemJS](https://github.com/systemjs/systemjs/blob/master/docs/creating-plugins.md)) has not been easy before;
6757+
Importing none-code resources using module loaders extension (e.g. [AMD](https://github.com/amdjs/amdjs-api/blob/master/LoaderPlugins.md) or [SystemJS](https://github.com/systemjs/systemjs/blob/master/docs/module-types.md)) has not been easy before;
67586758
previously an ambient module declaration had to be defined for each resource.
67596759
67606760
TypeScript 2.0 supports the use of the wildcard character (`*`) to declare a "family" of module names;

packages/documentation/copy/en/release-notes/TypeScript 1.8.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -150,7 +150,7 @@ const Greeter = ({ name = "world" }) => <div>Hello, {name}!</div>;
150150
let example = <Greeter name="TypeScript 1.8" />;
151151
```
152152

153-
For this feature and simplified props, be sure to be use the [latest version of react.d.ts](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/react).
153+
For this feature and simplified props, be sure to be use the [latest version of react.d.ts](https://github.com/DefinitelyTyped/DefinitelyTyped/blob/master/types/muicss/react.d.ts).
154154

155155
## Simplified `props` type management in React
156156

packages/documentation/copy/en/release-notes/TypeScript 2.0.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -544,7 +544,7 @@ import A from "moduleA";
544544
## Path mapping
545545

546546
Sometimes modules are not directly located under _baseUrl_.
547-
Loaders use a mapping configuration to map module names to files at run-time, see [RequireJs documentation](http://requirejs.org/docs/api.html#config-paths) and [SystemJS documentation](https://github.com/systemjs/systemjs/blob/master/docs/overview.md#map-config).
547+
Loaders use a mapping configuration to map module names to files at run-time, see [RequireJs documentation](http://requirejs.org/docs/api.html#config-paths) and [SystemJS documentation](https://github.com/systemjs/systemjs/blob/master/docs/import-maps.md).
548548

549549
The TypeScript compiler supports the declaration of such mappings using `"paths"` property in `tsconfig.json` files.
550550

@@ -627,7 +627,7 @@ x(y);
627627

628628
## Wildcard character in module names
629629

630-
Importing none-code resources using module loaders extension (e.g. [AMD](https://github.com/amdjs/amdjs-api/blob/master/LoaderPlugins.md) or [SystemJS](https://github.com/systemjs/systemjs/blob/master/docs/creating-plugins.md)) has not been easy before;
630+
Importing none-code resources using module loaders extension (e.g. [AMD](https://github.com/amdjs/amdjs-api/blob/master/LoaderPlugins.md) or [SystemJS](https://github.com/systemjs/systemjs/blob/master/docs/module-types.md)) has not been easy before;
631631
previously an ambient module declaration had to be defined for each resource.
632632

633633
TypeScript 2.0 supports the use of the wildcard character (`*`) to declare a "family" of module names;

packages/documentation/copy/en/release-notes/TypeScript 2.1.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -425,7 +425,7 @@ let v2 = c2; // Type "hello"
425425

426426
In ES2015, constructors which return an object implicitly substitute the value of `this` for any callers of `super()`.
427427
As a result, it is necessary to capture any potential return value of `super()` and replace it with `this`.
428-
This change enables working with [Custom Elements](https://w3c.github.io/webcomponents/spec/custom/#htmlelement-constructor), which takes advantage of this to initialize browser-allocated elements with user-written constructors.
428+
This change enables working with [Custom Elements](https://www.w3.org/TR/custom-elements/), which takes advantage of this to initialize browser-allocated elements with user-written constructors.
429429

430430
##### Example
431431

packages/documentation/copy/pt/reference/Module Resolution.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -213,13 +213,13 @@ O valor de _baseUrl_ é determinado como:
213213

214214
Observe que as importações de módulos relativos não são afetadas pela configuração de baseUrl, pois elas sempre são resolvidas em relação aos arquivos de importação.
215215

216-
Você pode encontrar mais documentação sobre baseUrl em [RequireJS](http://requirejs.org/docs/api.html#config-baseUrl) e [SystemJS](https://github.com/systemjs/systemjs/blob/master /docs/api.md#baseurl).
216+
Você pode encontrar mais documentação sobre baseUrl em [RequireJS](http://requirejs.org/docs/api.html#config-baseUrl) e [SystemJS](https://github.com/systemjs/systemjs/blob/master/docs/api.md).
217217

218218
### Mapeamento de caminhos
219219

220220
Às vezes, os módulos não estão localizados diretamente em _baseUrl_.
221221
Por exemplo, uma importação para um módulo `"jquery"` seria traduzido em tempo de execução para `"node_modules/jquery/dist/jquery.slim.min.js"`.
222-
Os carregadores usam uma configuração de mapeamento para mapear nomes de módulos para arquivos em tempo de execução, consulte a [documentação do RequireJs](http://requirejs.org/docs/api.html#config-paths) e a [documentação do SystemJS](https://github.com/systemjs/systemjs/blob/master/docs/config-api.md#paths).
222+
Os carregadores usam uma configuração de mapeamento para mapear nomes de módulos para arquivos em tempo de execução, consulte a [documentação do RequireJs](http://requirejs.org/docs/api.html#config-paths) e a [documentação do SystemJS](https://github.com/systemjs/systemjs/blob/master/docs/import-maps.md).
223223

224224
O compilador TypeScript suporta a declaração de tais mapeamentos usando a propriedade `"paths"` nos arquivos `tsconfig.json`.
225225
Aqui está um exemplo de como especificar a propriedade `"paths"` para `jquery`.

0 commit comments

Comments
 (0)