Skip to content

Commit 117b556

Browse files
authored
Fix broken links - Part: 2 (#2072)
1 parent e943f1d commit 117b556

File tree

6 files changed

+27
-27
lines changed

6 files changed

+27
-27
lines changed

docs-js/features/connectivity/destination-cache-isolation.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ An erroneous configuration can have severe consequences like privilege escalatio
107107

108108
By default, destinations are cached in-memory.
109109
If you need more control over the destination cache, e.g. to use a persistent or distributed cache, you can create a custom destination cache.
110-
For this, implement the [`DestinationCacheInterface`](pathname:///api/v4/interfaces/sap-cloud-sdk_connectivity.DestinationCacheInterface.html):
110+
For this, implement the [`DestinationCacheInterface`](pathname:///api/v4/types/sap-cloud-sdk_connectivity.DestinationCacheInterface.html):
111111

112112
```ts
113113
export interface DestinationCacheInterface {

docs-js/features/connectivity/generic-http-client.mdx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ The generic HTTP client is based on the open source [axios HTTP client](https://
5353

5454
## `executeHttpRequest`
5555

56-
The most basic way to use the SAP Cloud SDK HTTP client is the function [executeHttpRequest](pathname:///api/v4/functions/sap-cloud-sdk_http_client.executeHttpRequest.html).
56+
The most basic way to use the SAP Cloud SDK HTTP client is the function [executeHttpRequest](pathname:///api/v4/functions/sap-cloud-sdk_http-client.executeHttpRequest.html).
5757

5858
```ts
5959
executeHttpRequest(destination, requestConfig, httpRequestOptions): Promise<HttpResponse>;
@@ -63,7 +63,7 @@ It takes the following parameters:
6363

6464
- The `destination` argument is of type `DestinationOrFetchOptions`
6565
- This can either be a [destination object](pathname:///api/v4/interfaces/sap-cloud-sdk_connectivity.Destination.html) which was already fetched or an [object containing a destination name and an optional JWT](pathname:///api/v4/interfaces/sap-cloud-sdk_connectivity.DestinationFetchOptions.html)
66-
- The `requestConfig` argument is of type [HttpRequestConfig](pathname:///api/v4/types/sap-cloud-sdk_http_client.HttpRequestConfig.html).
66+
- The `requestConfig` argument is of type [HttpRequestConfig](pathname:///api/v4/types/sap-cloud-sdk_http-client.HttpRequestConfig.html).
6767
- This parameter is optional
6868
- The default value is a `GET` request
6969
- The `httpRequestOptions` argument is of type `HttpRequestOptions`
@@ -98,7 +98,7 @@ For keys that exist for both objects, the `requestConfig` takes precedence.
9898

9999
:::
100100

101-
The `executeHttpRequest()` function returns a promise of type [HttpResponse](pathname:///api/v4/interfaces/sap-cloud-sdk_http_client.HttpResponse.html).
101+
The `executeHttpRequest()` function returns a promise of type [HttpResponse](pathname:///api/v4/interfaces/sap-cloud-sdk_http-client.HttpResponse.html).
102102

103103
### Parameter Encoding
104104

@@ -177,7 +177,7 @@ It is not available for `GET` requests.
177177
:::
178178
179179
Fetching the CSRF token can be enabled or disabled via the `httpRequestOptions.fetchCsrfToken` parameter of `executeHttpRequest()` function.
180-
See its [API documentation](pathname:///api/v4/interfaces/sap-cloud-sdk_http_client.HttpRequestOptions.html) for details.
180+
See its [API documentation](pathname:///api/v4/interfaces/sap-cloud-sdk_http-client.HttpRequestOptions.html) for details.
181181
182182
For example, to avoid CSRF token fetching when doing a `PUT`, `POST`, `DELETE`, or `PATCH` request, disable it like in this example:
183183

docs-js/features/odata/execute-odata-request.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -167,10 +167,10 @@ The following table describes how types are mapped by default:
167167
| `Edm.DateTimeOffset` | `moment.Moment` | |
168168
| `Edm.Binary` | `string` | |
169169
| `Edm.DateTime` | `moment.Moment` | OData v2 only, precision limited to milliseconds |
170-
| `Edm.Time` | [`Time`](pathname:///api/v4/interfaces/sap-cloud-sdk_odata_common.Time.html) | OData v2 only, does not consider time zones |
170+
| `Edm.Time` | [`Time`](pathname:///api/v4/interfaces/sap-cloud-sdk_odata-common.Time.html) | OData v2 only, does not consider time zones |
171171
| `Edm.Date` | `moment.Moment` | OData v4 only |
172172
| `Edm.Duration` | `moment.Duration` | OData v4 only |
173-
| `Edm.TimeOfDay` | [`Time`](pathname:///api/v4/interfaces/sap-cloud-sdk_odata_common.Time.html) | OData v4 only, does not consider time-zones |
173+
| `Edm.TimeOfDay` | [`Time`](pathname:///api/v4/interfaces/sap-cloud-sdk_odata-common.Time.html) | OData v4 only, does not consider time-zones |
174174
| Any other type | `any` | |
175175

176176
If you require the raw OData response, you can look into [getting the raw response and the original request](#getting-the-raw-response-and-the-original-request).

docs-js/guides/how-to-retrieve-jwt.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ Therefore, JWTs are used to exchange authorization and authentication informatio
2929
## JWT on SAP BTP
3030

3131
The retrieval of a JWT is done by the approuter together with the XSUAA.
32-
[This guide](https://sap.github.io/cloud-sdk/docs/js/guides/how-to-use-the-approuter) explains these concepts.
32+
[This guide](./how-to-use-the-approuter.mdx) explains these concepts.
3333
Find a complete setup in the sample applications for [Cloud Foundry](https://github.com/SAP-samples/cloud-sdk-js/tree/main/samples/cf-sample-application) and [k8s](https://github.com/SAP-samples/cloud-sdk-js/tree/main/samples/k8s-sample-application).
3434
The flow is as follows:
3535

docs-js_versioned_docs/version-v3/features/odata/execute-odata-request.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -167,10 +167,10 @@ The following table describes how types are mapped by default:
167167
| `Edm.DateTimeOffset` | `moment.Moment` | |
168168
| `Edm.Binary` | `string` | |
169169
| `Edm.DateTime` | `moment.Moment` | OData v2 only, precision limited to milliseconds |
170-
| `Edm.Time` | [`Time`](pathname:///api/v3/interfaces/sap-cloud-sdk_odata_common.Time.html) | OData v2 only, does not consider time zones |
170+
| `Edm.Time` | [`Time`](pathname:///api/v3/interfaces/sap-cloud-sdk_odata-common.Time.html) | OData v2 only, does not consider time zones |
171171
| `Edm.Date` | `moment.Moment` | OData v4 only |
172172
| `Edm.Duration` | `moment.Duration` | OData v4 only |
173-
| `Edm.TimeOfDay` | [`Time`](pathname:///api/v3/interfaces/sap-cloud-sdk_odata_common.Time.html) | OData v4 only, does not consider time-zones |
173+
| `Edm.TimeOfDay` | [`Time`](pathname:///api/v3/interfaces/sap-cloud-sdk_odata-common.Time.html) | OData v4 only, does not consider time-zones |
174174
| Any other type | `any` | |
175175

176176
If you require the raw OData response, you can look into [getting the raw response and the original request](#getting-the-raw-response-and-the-original-request).

src/components/data/features.js

Lines changed: 17 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ export const features = [
6262
},
6363
js: {
6464
status: YES,
65-
docsLink: `[docs](${baseUrl}/js/features/odata/use-odata-v2-type-safe-client-for-javascript-typescript)`,
65+
docsLink: `[docs](${baseUrl}/js/features/odata/v2-client)`,
6666
note: ''
6767
}
6868
},
@@ -76,7 +76,7 @@ export const features = [
7676
},
7777
js: {
7878
status: YES,
79-
docsLink: `[docs](${baseUrl}/js/features/odata/use-odata-v4-type-safe-client-for-javascript-typescript)`,
79+
docsLink: `[docs](${baseUrl}/js/features/odata/v4-client)`,
8080
note: ''
8181
}
8282
},
@@ -91,7 +91,7 @@ export const features = [
9191
js: {
9292
status: NO,
9393
docsLink: ``,
94-
note: `We expose [generic HTTP client](${baseUrl}/js/features/connectivity/generic-http-client) aware of connectivity abstractions`
94+
note: `We expose [generic HTTP client](${baseUrl}/js/features/connectivity/http-client) aware of connectivity abstractions`
9595
}
9696
},
9797
{
@@ -104,7 +104,7 @@ export const features = [
104104
},
105105
js: {
106106
status: YES,
107-
docsLink: `[docs](${baseUrl}/js/features/odata/generate-odata-client)`,
107+
docsLink: `[docs](${baseUrl}/js/features/odata/generate-client)`,
108108
note: ''
109109
}
110110
},
@@ -118,7 +118,7 @@ export const features = [
118118
},
119119
js: {
120120
status: YES,
121-
docsLink: `[docs](${baseUrl}/js/features/openapi/execute-openapi-request)`,
121+
docsLink: `[docs](${baseUrl}/js/features/openapi/execute-request)`,
122122
note: ''
123123
}
124124
},
@@ -132,7 +132,7 @@ export const features = [
132132
},
133133
js: {
134134
status: YES,
135-
docsLink: `[docs](${baseUrl}/js/features/openapi/execute-openapi-request)`,
135+
docsLink: `[docs](${baseUrl}/js/features/openapi/execute-request)`,
136136
note: ''
137137
}
138138
},
@@ -146,7 +146,7 @@ export const features = [
146146
},
147147
js: {
148148
status: YES,
149-
docsLink: `[docs](${baseUrl}/js/features/openapi/generate-openapi-client)`,
149+
docsLink: `[docs](${baseUrl}/js/features/openapi/generate-client)`,
150150
note: ''
151151
}
152152
},
@@ -202,7 +202,7 @@ export const features = [
202202
},
203203
js: {
204204
status: YES,
205-
docsLink: `[docs](${baseUrl}/js/getting-started#deploy-the-project-on-sap-btp-cloud-foundry)`,
205+
docsLink: `[docs](${baseUrl}/js/getting-started)`,
206206
note: ''
207207
}
208208
},
@@ -216,7 +216,7 @@ export const features = [
216216
},
217217
js: {
218218
status: YES,
219-
docsLink: `[docs](${baseUrl}/js/guides/migrate-sdk-application-from-btp-cf-to-kubernetes)`,
219+
docsLink: `[docs](${baseUrl}/js/environments/kubernetes)`,
220220
note: ''
221221
}
222222
},
@@ -230,7 +230,7 @@ export const features = [
230230
},
231231
js: {
232232
status: YES,
233-
docsLink: `[docs](${baseUrl}/js/getting-started#deploy-the-project-on-sap-btp-cloud-foundry)`,
233+
docsLink: `[docs](${baseUrl}/js/environments/kyma)`,
234234
note: ''
235235
}
236236
},
@@ -286,7 +286,7 @@ export const features = [
286286
},
287287
js: {
288288
status: YES,
289-
docsLink: `[docs](${baseUrl}/js/features/connectivity/destination)`,
289+
docsLink: `[docs](${baseUrl}/js/features/connectivity/destinations)`,
290290
note: ''
291291
}
292292
},
@@ -300,7 +300,7 @@ export const features = [
300300
},
301301
js: {
302302
status: YES,
303-
docsLink: `[docs](${baseUrl}/js/features/connectivity/destination)`,
303+
docsLink: `[docs](${baseUrl}/js/features/connectivity/destinations)`,
304304
note: ''
305305
}
306306
},
@@ -314,7 +314,7 @@ export const features = [
314314
},
315315
js: {
316316
status: YES,
317-
docsLink: `[docs](${baseUrl}/js/features/connectivity/destination)`,
317+
docsLink: `[docs](${baseUrl}/js/features/connectivity/destinations)`,
318318
note: ''
319319
}
320320
},
@@ -342,7 +342,7 @@ export const features = [
342342
},
343343
js: {
344344
status: YES,
345-
docsLink: `[docs](${baseUrl}/js/features/connectivity/destination#authentication-and-json-web-token-retrievjal)`,
345+
docsLink: `[docs](${baseUrl}/js/features/connectivity/destinations#authentication-and-json-web-token-retrievjal)`,
346346
note: ''
347347
}
348348
},
@@ -356,7 +356,7 @@ export const features = [
356356
},
357357
js: {
358358
status: YES,
359-
docsLink: `[docs](${baseUrl}/js/features/connectivity/destination#multi-tenancy)`,
359+
docsLink: `[docs](${baseUrl}/js/features/connectivity/destinations#multi-tenancy)`,
360360
note: ''
361361
}
362362
},
@@ -370,7 +370,7 @@ export const features = [
370370
},
371371
js: {
372372
status: YES,
373-
docsLink: `[docs](${baseUrl}/js/features/connectivity/destination#multi-tenancy)`,
373+
docsLink: `[docs](${baseUrl}/js/features/connectivity/destinations#multi-tenancy)`,
374374
note: ''
375375
}
376376
},
@@ -384,7 +384,7 @@ export const features = [
384384
},
385385
js: {
386386
status: YES,
387-
docsLink: `[docs](${baseUrl}/js/features/connectivity/generic-http-client)`,
387+
docsLink: `[docs](${baseUrl}/js/features/connectivity/http-client)`,
388388
note: ''
389389
}
390390
},

0 commit comments

Comments
 (0)