Skip to content

Commit 69e3f7a

Browse files
authored
Updating doc links to TypeSpec.io & few broken anchor links (#352)
1 parent 8ed28b8 commit 69e3f7a

27 files changed

+38
-38
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ You can try TypeSpec on the web without installing anything.
2020

2121
## Getting Started
2222

23-
For TypeSpec language documentation, see https://microsoft.github.io/typespec.
23+
For TypeSpec language documentation, see https://typespec.io/docs.
2424

2525
If you are team working on Azure, see TypeSpec Azure development documentation https://azure.github.io/typespec-azure. You should pre-install as well `@azure-tools/typespec-azure-core` to define Azure resources, and `@azure-tools/typespec-autorest` to export in Swagger:
2626

docs/emitters/typespec-autorest/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ or via the command line with
7474

7575
#### `emitter-output-dir`
7676

77-
Set the emitter output-dir. [See here](https://microsoft.github.io/typespec/introduction/configuration#emitter-output-dir)
77+
Set the emitter output-dir. [See here](https://typespec.io/docs/handbook/configuration#emitter-output-dir)
7878

7979
#### `output-file`
8080

docs/getstarted/azure-resource-manager/step00.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
## Installing IDE Tools
44

5-
If you use Visual Studio or Visual Studio code, the TypeSpec extensions are an important tool in providing a first class experience for writing, editing, and reviewing TypeSpec. See [Installing the VS and VS Code Extensions](https://microsoft.github.io/typespec/introduction/installation#install-the-vs-and-vscode-extensions) for details.
5+
If you use Visual Studio or Visual Studio code, the TypeSpec extensions are an important tool in providing a first class experience for writing, editing, and reviewing TypeSpec. See [Installing the VS and VS Code Extensions](https://typespec.io/docs#install-the-vs-and-vscode-extensions) for details.
66

77
## Creating a Service
88

docs/getstarted/azure-resource-manager/step02.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ There are three essential components of a resource defined with TypeSpec:
66

77
- A model type representing the resource, derived from one of the [base resource types](#base-resource-types)
88
- A model type defining the properties of the resource type
9-
- An interface that defines the operations that can be performed on the resource type, usually a combination of [standard resource operations](#standard-resource-operations) and [custom actions](#custom-actions)
9+
- An interface that defines the operations that can be performed on the resource type, usually a combination of [recommended and required Operations](../../howtos/ARM/resource-operations.md#recommended-and-required-operations) and [resource actions](../../howtos/ARM/resource-operations.md#resource-actions-post)
1010

1111
> Read the [TypeSpec tutorial](https://github.com/Microsoft/typespec/blob/main/docs/tutorial.md) to learn the basics about TypeSpec model types and interfaces.
1212

docs/getstarted/installation.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ You can try TypeSpec on the web without installing anything.
99

1010
### Installing TypeSpec core toolset
1111

12-
See https://microsoft.github.io/typespec/introduction/installation
12+
See https://typespec.io/docs
1313

1414
## Installing TypeSpec Azure toolsets
1515

docs/howtos/Azure Core/content-negotiation.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Content Type Negotiation
22

3-
See [Http documentation on content type negotiation](https://microsoft.github.io/typespec/next/standard-library/http/content-types#content-type-negotiation) for the general concept
3+
See [Http documentation on content type negotiation](https://typespec.io/docs/next/libraries/http/content-types#content-type-negotiation) for the general concept
44

55
## Usage with Azure.Core operations
66

docs/howtos/migrate-swagger/get-started.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,5 +33,5 @@ We have created a swagger to TypeSpec conversion tool to help take on the bulk o
3333
- A high-level description of the bug
3434
- Expected and Actual Results
3535
- Repro steps, including any TypeSpec code that you used
36-
- Any error messages you saw, including stack traces. For issues with VS or VS Code tooling see [Troubleshooting VSCode Tooling and Filing Issues](#troubleshooting-vscode-tooling-and-filing-issues)
36+
- Any error messages you saw, including stack traces. For issues with VS or VS Code tooling see [Troubleshooting VSCode Tooling and Filing Issues](../../typespec-getting-started.md#troubleshooting-vscode-tooling-and-filing-issues)
3737
- Schedule review meetings with TypeSpec team.

docs/intro.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
TypeSpec is a language for describing cloud service APIs and generating other API description languages, client and service code, documentation, and other assets. TypeSpec provides highly extensible core language primitives that can describe API shapes common among REST, GraphQL, gRPC, and other protocols.
44

5-
You can find more information at https://microsoft.github.io/typespec.
5+
You can find more information at https://typespec.io/docs.
66

77
This site is focused on using TypeSpec in the context of Azure. We have published a set of libraries with standard patterns and templates to make defining Azure management and data-plane services easy and compliant with Azure API guidelines. Using these building blocks
88
and guard rails, your service API will be easier to build, will have an easier time passing API reviews, will be consistent with other Azure
@@ -47,7 +47,7 @@ for specific scenarios:
4747
- A high-level description of the bug
4848
- Expected and Actual Results
4949
- Repro steps, including any TypeSpec code that you used
50-
- Any error messages you saw, including stack traces. For issues with VS or VS Code tooling see [Troubleshooting VSCode Tooling and Filing Issues](#troubleshooting-vscode-tooling-and-filing-issues)
50+
- Any error messages you saw, including stack traces. For issues with VS or VS Code tooling see [Troubleshooting VSCode Tooling and Filing Issues](./typespec-getting-started.md#troubleshooting-vscode-tooling-and-filing-issues)
5151

5252
## More Information About TypeSpec
5353

docs/reference/azure-style-guide.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ in Azure TypeSpec definitions.
5050
Instead, we recommend using supported scalars. Azure-specific scalars include: `eTag`, `ipV4Address`, `ipV6Address` and `uuid`. General
5151
TypeSpec scalars include: `bytes`, `numeric`, `integer`, `float`, `int64`, `int32`, `int16`, `int8`, `uint64`, `uint32`, `uint16`, `uint8`,
5252
`safeint`, `float64`, `float32`, `decimal`, `decimal128`, `string`, `plainDate`, `plainTime`, `utcDateTime`, `offsetDateTime`, `duration`,
53-
`boolean`, and `url`. For more information, see the document on [Types Relations](https://microsoft.github.io/typespec/language-basics/type-relations)
53+
`boolean`, and `url`. For more information, see the document on [Types Relations](https://typespec.io/docs/language-basics/type-relations)
5454

5555
## Operation Groups
5656

docs/release-notes/release-2022-10-12.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ title: October 2022
66

77
This release contains **breaking changes**
88

9-
Change to compiler, rest libraries [See TypeSpec Core release notes](https://microsoft.github.io/typespec/docs/release-notes/release-2022-10-12/)
9+
Change to compiler, rest libraries [See TypeSpec Core release notes](https://typespec.io/docs/release-notes/release-2022-10-12/)
1010

1111
- **`TypeSpec`**: Cannot `extends` or `is` a model expression via alias
1212
- **`Api`**: Removed `createProgram` and changed `compile` parameter order

0 commit comments

Comments
 (0)