mirror of
https://github.com/Redocly/redoc.git
synced 2025-08-04 20:30:23 +03:00
docs: add link checker config and fix/update some links reported broken
This commit is contained in:
parent
b1adbe8c08
commit
2219ba206a
4
.mlc.toml
Normal file
4
.mlc.toml
Normal file
|
@ -0,0 +1,4 @@
|
||||||
|
# Ignore these links, we can't check them from this subproject
|
||||||
|
ignore-links=["../*", "/docs/*"]
|
||||||
|
# Path to the root folder used to resolve all relative paths
|
||||||
|
root-dir="./docs"
|
|
@ -12,9 +12,9 @@ With Redocly CLI, you can bundle your OpenAPI definition and API documentation
|
||||||
|
|
||||||
First, you need to install the `@redocly/cli` package.
|
First, you need to install the `@redocly/cli` package.
|
||||||
|
|
||||||
You can install it [globally](/docs/cli/installation.md#install-globally) using npm or Yarn.
|
You can install it [globally](../../cli/installation.md#install-globally) using npm or Yarn.
|
||||||
|
|
||||||
Or you can install it during [runtime](/docs/cli/installation.md#use-npx-at-runtime) using npx or Docker.
|
Or you can install it during [runtime](../../installation.md#use-npx-at-runtime) using npx or Docker.
|
||||||
|
|
||||||
## Step 2 - Build the HTML file
|
## Step 2 - Build the HTML file
|
||||||
|
|
||||||
|
|
|
@ -30,8 +30,8 @@ The following options are supported:
|
||||||
You need an OpenAPI definition. For testing purposes, you can use one of the following sample OpenAPI definitions:
|
You need an OpenAPI definition. For testing purposes, you can use one of the following sample OpenAPI definitions:
|
||||||
|
|
||||||
- OpenAPI 3.0
|
- OpenAPI 3.0
|
||||||
- [Rebilly Users OpenAPI Definition](https://raw.githubusercontent.com/Rebilly/api-definitions/main/openapi/users.yaml)
|
- [Museum Example API](https://github.com/Redocly/museum-openapi-example/blob/main/openapi.yaml)
|
||||||
- [Swagger Petstore Sample OpenAPI Definition](https://petstore3.swagger.io/api/v3/openapi.json)
|
- [Petstore Sample OpenAPI Definition](https://petstore3.swagger.io/api/v3/openapi.json)
|
||||||
- OpenAPI 2.0
|
- OpenAPI 2.0
|
||||||
- [Thingful OpenAPI Definition](https://raw.githubusercontent.com/thingful/openapi-spec/master/spec/swagger.yaml)
|
- [Thingful OpenAPI Definition](https://raw.githubusercontent.com/thingful/openapi-spec/master/spec/swagger.yaml)
|
||||||
- [Fitbit Plus OpenAPI Definition](https://raw.githubusercontent.com/TwineHealth/TwineDeveloperDocs/master/spec/swagger.yaml)
|
- [Fitbit Plus OpenAPI Definition](https://raw.githubusercontent.com/TwineHealth/TwineDeveloperDocs/master/spec/swagger.yaml)
|
||||||
|
|
|
@ -50,7 +50,7 @@ You can use the following [vendor extensions](https://redocly.com/docs/openapi-v
|
||||||
- [x-explicitMappingOnly example](#x-explicitmappingonly-example)
|
- [x-explicitMappingOnly example](#x-explicitmappingonly-example)
|
||||||
|
|
||||||
## Swagger Object
|
## Swagger Object
|
||||||
Extends the OpenAPI root [OpenAPI Object](https://redocly.com/docs/openapi-visual-reference/openapi/)
|
Extends the OpenAPI root [OpenAPI Object](https://redocly.com/docs/openapi-visual-reference/openapi-1/)
|
||||||
|
|
||||||
### x-servers
|
### x-servers
|
||||||
Backported from OpenAPI 3.0 [`servers`](https://github.com/OAI/OpenAPI-Specification/blob/master/versions/3.0.0.md#serverObject). Currently doesn't support templates.
|
Backported from OpenAPI 3.0 [`servers`](https://github.com/OAI/OpenAPI-Specification/blob/master/versions/3.0.0.md#serverObject). Currently doesn't support templates.
|
||||||
|
|
Loading…
Reference in New Issue
Block a user