Skip to content

Commit b7af6c2

Browse files
committed
docs: fix broken links
1 parent 7a7df6b commit b7af6c2

File tree

4 files changed

+7
-9
lines changed

4 files changed

+7
-9
lines changed

docs/content/Auth/Security-Context.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -186,7 +186,7 @@ build one from a JSON object.
186186

187187
[link-auth0-jwks]:
188188
https://auth0.com/docs/tokens/json-web-tokens/json-web-key-sets
189-
[link-multitenancy]: /multitenancy-setup
189+
[link-multitenancy]: /config/multitenancy
190190
[ref-config-queryrewrite]: /config#query-rewrite
191191
[ref-config-sched-refresh]: /config#scheduled-refresh-contexts
192192
[ref-config-sec-ctx]: /config#security-context

docs/content/Configuration/Advanced/Multitenancy.mdx

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,6 @@ permalink: /config/multitenancy
44
category: Configuration
55
subCategory: Advanced
66
menuOrder: 2
7-
redirect_from:
8-
- /multitenancy-setup
97
---
108

119
Cube supports multitenancy out of the box, both on database and data schema

docs/content/Configuration/Config.mdx

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,7 @@ consider defining [`driverFactory`][self-driver-factory] to return a
137137

138138
Either `String` or `Function` could be passed. Providing a `Function` allows to
139139
dynamically select a database type depending on the user's context. It is
140-
usually used in [Multitenancy Setup][ref-multitenancy].
140+
usually used in [Multitenancy Setup][ref-multitenancy].
141141

142142
If no option is passed, Cube.js will lookup for environment variable
143143
`CUBEJS_DB_TYPE` to resolve `dbType`.
@@ -176,7 +176,7 @@ module.exports = {
176176

177177
Set a custom database driver. The function accepts context object as an argument
178178
to allow dynamically loading database drivers, which is usually used in
179-
[Multitenancy Applications][ref-multitenancy].
179+
[Multitenancy Applications][ref-multitenancy].
180180

181181
Called once per [`dataSource`][ref-schema-ref-datasource]. Can return a
182182
`Promise` which resolves to a `DriverConfig`. `DriverConfig` consists of a
@@ -451,8 +451,8 @@ module.exports = {
451451
<WarningBox>
452452

453453
This is merely a refresh worker's heartbeat. It doesn't affect the freshness of
454-
pre-aggregations or refresh keys, nor how frequently Cube accesses the database.
455-
Setting this value to `30s` doesn't mean pre-aggregations or in-memory cache would be refreshed every 30 seconds but instead refresh key is checked for freshness every 30 seconds in the background.
454+
pre-aggregations or refresh keys, nor how frequently Cube accesses the database.
455+
Setting this value to `30s` doesn't mean pre-aggregations or in-memory cache would be refreshed every 30 seconds but instead refresh key is checked for freshness every 30 seconds in the background.
456456
Please consult the [cube `refreshKey` documentation][ref-schema-cube-ref-refresh-key] and [pre-aggregation `refreshKey` documentation][ref-pre-aggregations-refresh-key] on how to set data refresh intervals.
457457

458458
</WarningBox>
@@ -837,7 +837,7 @@ module.exports = {
837837
[link-wiki-tz]: https://en.wikipedia.org/wiki/Tz_database
838838
[ref-caching-up-to-date]: /caching#keeping-cache-up-to-date
839839
[ref-development-mode]: /overview#development-mode
840-
[ref-multitenancy]: /multitenancy-setup
840+
[ref-multitenancy]: /config/multitenancy
841841
[ref-rest-api]: /rest-api
842842
[ref-sql-api]: /backend/sql
843843
[ref-rest-api-sched-refresh]: /rest-api#v-1-run-scheduled-refresh

docs/content/Cube-Cloud/Configuration/Connecting-to-Databases.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@ The following fields are required when creating a Snowflake connection:
124124
If you are connecting to multiple databases, set up the first database
125125
connection during the deployment creation wizard. First, make sure you have the
126126
correct configuration in your `cube.js` file according to your
127-
[multitenancy setup](/multitenancy-setup). Next, configure the corresponding
127+
[multitenancy setup](/config/multitenancy). Next, configure the corresponding
128128
environment variables on the **Settings - Env Vars page**.
129129

130130
## Connecting via SSL

0 commit comments

Comments
 (0)