Skip to content

Commit 8facd5e

Browse files
committed
Fixed links for blc test
1 parent 95b07f7 commit 8facd5e

File tree

21 files changed

+42
-46
lines changed

21 files changed

+42
-46
lines changed

cds/_menu.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,6 @@
1818
# [Core / Built-in Types](types)
1919
# [Common Reuse Types](common)
2020
# [Common Annotations](annotations)
21-
# [Compiler Messages](../compiler/messages)
21+
# [Compiler Messages](/cds/compiler/messages)
2222
# [Aspect-oriented Modelling](aspects)
2323
# [The Nature of CDS Models](models)

cds/cdl.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1575,8 +1575,7 @@ rewritten to `@Common.Text: (descr)`.
15751575

15761576
::: info
15771577

1578-
There may be situations where automatic rewriting doesn't work, resulting in the compiler error
1579-
[`anno-missing-rewrite`](https://cap.cloud.sap/docs/cds/compiler/messages#anno-missing-rewrite).
1578+
There may be situations where automatic rewriting doesn't work, resulting in a compiler error, with message ID `anno-missing-rewrite`.
15801579
In these cases you can overwrite the annotation with the correct expression in the new location.
15811580

15821581
:::

get-started/best-practices.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -22,15 +22,15 @@ The CAP framework features a mix of proven and broadly adopted open-source and S
2222

2323
The major building blocks are as follows:
2424

25-
- [**Core Data Services** (CDS)](../cds/index.md) — CAP's universal modeling language, and the very backbone of everything; used to capture domain knowledge, generating database schemas, translating to and from various API languages, and most important: fueling generic runtimes to automatically serve request out of the box.
25+
- [**Core Data Services** (CDS)](../cds/) — CAP's universal modeling language, and the very backbone of everything; used to capture domain knowledge, generating database schemas, translating to and from various API languages, and most important: fueling generic runtimes to automatically serve request out of the box.
2626

27-
- [**Service Runtimes**](../guides/services/providing-services.md) for [Node.js](../node.js) and [Java](../java/index.md) — providing the core frameworks for services, generic providers to serve requests automatically, database support for SAP HANA, SQLite, and PostgreSQL, and protocol adaptors for REST, OData, GraphQL, ...
27+
- [**Service Runtimes**](../guides/services/providing-services.md) for [Node.js](../node.js/) and [Java](../java/) — providing the core frameworks for services, generic providers to serve requests automatically, database support for SAP HANA, SQLite, and PostgreSQL, and protocol adaptors for REST, OData, GraphQL, ...
2828

29-
- [**Platform Integrations**](../plugins/index.md) — providing CAP-level service interfaces (*'[Calesi](#the-calesi-pattern)'*) to cloud platform services in platform-agnostic ways, as much as possible. Some of these are provided out of the box, others as plugins.
29+
- [**Platform Integrations**](../plugins/) — providing CAP-level service interfaces (*'[Calesi](#the-calesi-pattern)'*) to cloud platform services in platform-agnostic ways, as much as possible. Some of these are provided out of the box, others as plugins.
3030

31-
- [**Command-Line Interface** (CLI)](../tools/index.md) — the Swiss army knife on the tools and development kit front, complemented by integrations and support in [*SAP Build Code*](https://www.sap.com/germany/products/technology-platform/developer-tools.html), *Visual Studio Code*, *IntelliJ*, and *Eclipse*.
31+
- [**Command-Line Interface** (CLI)](../tools/) — the Swiss army knife on the tools and development kit front, complemented by integrations and support in [*SAP Build Code*](https://www.sap.com/germany/products/technology-platform/developer-tools.html), *Visual Studio Code*, *IntelliJ*, and *Eclipse*.
3232

33-
In addition, there's a fast-growing number of [plugins](../plugins/index.md) contributed by open-source and inner-source [communities](/resources/index#public-resources) that enhance CAP in various ways, and integrate with additional tools and environments; the [*Calesi* plugins](about.md#the-calesi-effect) are among them.
33+
In addition, there's a fast-growing number of [plugins](../plugins/) contributed by open-source and inner-source [communities](/resources/index#public-resources) that enhance CAP in various ways, and integrate with additional tools and environments; the [*Calesi* plugins](about.md#the-calesi-effect) are among them.
3434

3535

3636

get-started/troubleshooting.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -276,7 +276,7 @@ To fix this, either switch the Node.js version using a Node version manager, or
276276

277277
```
278278

279-
[Learn more about the install-node goal.](../java/assets/cds-maven-plugin-site/install-node-mojo.html){.learn-more target="_blank"}
279+
[Learn more about the install-node goal.](/java/assets/cds-maven-plugin-site/install-node-mojo.html){.learn-more target="_blank"}
280280

281281
### How can I expose custom REST APIs with CAP?
282282

guides/databases/hana.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -202,7 +202,7 @@ cds deploy --to hana
202202
Behind the scenes, `cds deploy` does the following:
203203

204204
* Compiles the CDS model to SAP HANA files (usually in _gen/db_, or _db/src/gen_)
205-
* Generates _[.hdbtabledata](https://help.sap.com/docs/hana-cloud-database/sap-hana-cloud-sap-hana-database-deployment-infrastructure-hdi-reference/table-data-hdbtabledata)_ files for the [CSV files](#providing-initial-data) in the project. If a _[.hdbtabledata](https://help.sap.com/docs/hana-cloud-database/sap-hana-cloud-sap-hana-database-deployment-infrastructure-hdi-reference/table-data-hdbtabledata)_ file is already present next to the CSV files, no new file is generated.
205+
* Generates _[.hdbtabledata](https://help.sap.com/docs/hana-cloud-database/sap-hana-cloud-sap-hana-database-deployment-infrastructure-hdi-reference/table-data-hdbtabledata)_ files for the CSV files in the project. If a _[.hdbtabledata](https://help.sap.com/docs/hana-cloud-database/sap-hana-cloud-sap-hana-database-deployment-infrastructure-hdi-reference/table-data-hdbtabledata)_ file is already present next to the CSV files, no new file is generated.
206206
* Creates a Cloud Foundry service of type `hdi-shared`, which creates an HDI container. Also, you can explicitly specify the name like so: `cds deploy --to hana:<myService>`.
207207
* Starts `@sap/hdi-deploy` locally. If you need a tunnel to access the database, you can specify its address with `--tunnel-address <host:port>`.
208208
* Stores the binding information with profile `hybrid` in the _.cdsrc-private.json_ file of your project. You can use a different profile with parameter `--for`. With this information, `cds watch`/`run` can fetch the SAP HANA credentials at runtime, so that the server can connect to it.
@@ -557,7 +557,7 @@ CDS build performs rudimentary checks on generated _.hdmigrationtable_ files:
557557
- CDS build fails if manual resolution comments starting with `>>>>>` exist in one of the generated _.hdbmigrationtable_ files. This ensures that manual resolution is performed before deployment.
558558

559559
### Native Database Clauses {#schema-evolution-native-db-clauses}
560-
Not all clauses supported by SQL can directly be written in CDL syntax. To use native database clauses also in a CAP CDS model, you can provide arbitrary SQL snippets with the annotations [`@sql.prepend` and `@sql.append`](#sql-prepend-append). In this section, we're focusing on schema evolution specific details.
560+
Not all clauses supported by SQL can directly be written in CDL syntax. To use native database clauses also in a CAP CDS model, you can provide arbitrary SQL snippets with the annotations [`@sql.prepend` and `@sql.append`](index#sql-prepend-append). In this section, we're focusing on schema evolution specific details.
561561

562562
Schema evolution requires that any changes are applied by corresponding ALTER statements. See [ALTER TABLE statement reference](https://help.sap.com/docs/hana-cloud-database/sap-hana-cloud-sap-hana-database-sql-reference-guide/alter-table-statement-data-definition?version=2024_1_QRC) for more information. A new migration version is generated whenever an `@sql.append` or `@sql.prepend` annotation is added, changed, or removed. ALTER statements define the individual changes that create the final database schema. This schema has to match the schema defined by the TABLE statement in the _.hdbmigrationtable_ artifact.
563563
Please note that the compiler doesn't evaluate or process these SQL snippets. Any snippet is taken as is and inserted into the TABLE statement and the corresponding ALTER statement. The deployment fails in case of syntax errors.

guides/databases/postgres.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -618,7 +618,7 @@ If the changes in the model could lead to data loss, an error is raised.
618618

619619
## Migration { .node }
620620

621-
Thanks to CAP's database-agnostic cds.ql API, we're confident that the new PostgreSQL service comes without breaking changes. Nevertheless, please check the instructions in the [SQLite Migration guide](sqlite#migrationion), with by and large applies also to the new PostgreSQL service.
621+
Thanks to CAP's database-agnostic cds.ql API, we're confident that the new PostgreSQL service comes without breaking changes. Nevertheless, please check the instructions in the [SQLite Migration guide](sqlite#migration), with by and large applies also to the new PostgreSQL service.
622622

623623
### `cds deploy --model-only`
624624

guides/deploy/build.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ You can use them as a blue print – copy & paste them into your CDS configurati
4848

4949

5050

51-
## Custom Build Tasks {#build-config}
51+
## Custom Build Tasks
5252

5353
If custom build tasks are configured, those properties have precedence
5454
For example, you want to configure the _src_ folder and add the default models. To achieve this, do not define the _model_ option in your build task:

guides/events/core-concepts.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -183,7 +183,7 @@ As emitting and handling events is an intrinsic feature of the CAP core runtimes
183183

184184
Let's see that in action...
185185

186-
### 1. Run CAP Server
186+
### 1. Run CAP Server {#start-server}
187187

188188
Run the following command to start a reviews-enhanced bookshop as an all-in-one server process:
189189

guides/events/event-mesh.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,7 @@ Before [deploying to the cloud](#deploy-to-the-cloud-with-mta), you may want to
119119
120120
[Learn more about `cds.env` profiles.](../../node.js/cds-env#profiles){.learn-more}
121121
122-
6. Test your app [as described in the messaging guide](./#add-or-update-reviews).
122+
6. Test your app [as described in the messaging guide](messaging#add-or-update-reviews).
123123
124124
125125
### CAP Automatically Creates Queues and Subscriptions

guides/events/messaging.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ For quick tests during development, CAP provides a simple file-based messaging s
6161
In our samples, you find that in [@capire/reviews/package.json](https://github.com/capire/reviews/blob/main/package.json) as well as [@capire/bookstore/package.json](https://github.com/capire/bookstore/blob/main/package.json), which you'll run in the next step as separate processes.
6262

6363

64-
### 2. Start the `reviews` Service and `bookstore` Separately
64+
### 2. Start the `reviews` Service and `bookstore` Separately
6565

6666
First start the `reviews` service separately:
6767

@@ -85,7 +85,7 @@ Then, in a separate terminal start the `bookstore` server as before:
8585
cds watch bookstore
8686
```
8787

88-
This time the trace output is different to [when you started all in a single server](#start-single-server). The output confirms that you're using `file-based-messaging`, and that you now *connected* to the separately started `ReviewsService` at port 4005:
88+
This time the trace output is different to [when you started all in a single server](./core-concepts#start-server). The output confirms that you're using `file-based-messaging`, and that you now *connected* to the separately started `ReviewsService` at port 4005:
8989

9090
```log
9191
[cds] - connect to messaging > file-based-messaging { file: '~/.cds-msg-box' }
@@ -98,7 +98,7 @@ This time the trace output is different to [when you started all in a single ser
9898
[cds] - launched at 5/25/2023, 4:55:46 PM, version: 7.0.0, in: 1.053s
9999
```
100100

101-
### 3. Add or Update Reviews {#add-or-update-reviews-2}
101+
### 3. Add or Update Reviews {#add-or-update-reviews}
102102

103103
Similar to before, open [http://localhost:4005/vue/index.html](http://localhost:4005/vue/index.html) to add or update reviews.
104104

0 commit comments

Comments
 (0)