Skip to content

Commit 947f6e8

Browse files
authored
docs: fix mintlify nav and dynamic models page (cube-js#10766)
* docs: fix Mintlify nav links and Dynamic Data Models page - Remove SQL Runner from the Data Modeling sidebar - Fix broken "Migrate from Cube Core" nav entries (point to the actual *-via-ssh filenames) - Rewrite docs/data-modeling/dynamic/index.mdx: drop stray plain-text heading, switch oversized image cards to compact icon cards with descriptions, and frame the architecture diagrams under their own heading Made-with: Cursor * docs: drop deployment-tier mentions from feature pages Remove the "Also requires the M deployment tier" note from DAX API, MDX API, Power BI Kerberos, and Power BI NTLM pages. Drop the "choose a deployment tier" pointer from the Production deployment type. Reroute the Environments cost links to the pricing page root instead of the deployment-tiers anchor. The pricing page itself still defines deployment tiers; that's a separate edit pending direction on how to restructure the cost examples. Made-with: Cursor
1 parent af206b4 commit 947f6e8

9 files changed

Lines changed: 26 additions & 25 deletions

File tree

docs-mintlify/admin/deployment/deployment-types.mdx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,6 @@ You can try a Development deployment by
5454
<Info>
5555

5656
Available on [all paid plans](https://cube.dev/pricing).
57-
You can also choose a [deployment tier](/admin/account-billing/pricing#deployment-tiers).
5857

5958
</Info>
6059

docs-mintlify/admin/deployment/environments.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@ credentials**][ref-credentials].
115115
[ref-dev-mode]: /docs/data-modeling/dev-mode
116116
[ref-deployment-types]: /docs/deployment/cloud/deployment-types
117117
[ref-api-instance-scalability]: /docs/deployment/cloud/scalability#auto-scaling-of-api-instances
118-
[ref-pricing-deployment-tiers]: /admin/account-billing/pricing#deployment-tiers
118+
[ref-pricing-deployment-tiers]: /admin/account-billing/pricing
119119
[ref-suspend]: /docs/deployment/cloud/auto-suspension
120120
[ref-overview]: /docs/workspace/integrations#review-integrations
121121
[ref-credentials]: /docs/workspace/integrations#view-api-credentials

docs-mintlify/docs.json

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,6 @@
3737
{
3838
"group": "Migrate from Cube Core",
3939
"pages": [
40-
"docs/getting-started/migrate-from-core",
4140
"docs/getting-started/migrate-from-core/upload-with-cli",
4241
"docs/getting-started/migrate-from-core/import-github-repository",
4342
"docs/getting-started/migrate-from-core/import-gitlab-repository-via-ssh",
@@ -166,8 +165,8 @@
166165

167166
{
168167
"group": "Dynamic Data Models",
168+
"root": "docs/data-modeling/dynamic/index",
169169
"pages": [
170-
"docs/data-modeling/dynamic",
171170
"docs/data-modeling/dynamic/jinja",
172171
"docs/data-modeling/dynamic/javascript",
173172
"docs/data-modeling/dynamic/code-reusability-export-and-import",
@@ -179,8 +178,7 @@
179178
"pages": [
180179
"docs/data-modeling/visual-modeler",
181180
"docs/data-modeling/data-model-ide",
182-
"docs/data-modeling/dev-mode",
183-
"docs/data-modeling/sql-runner"
181+
"docs/data-modeling/dev-mode"
184182
]
185183
}
186184
]

docs-mintlify/docs/data-modeling/dynamic/index.mdx

Lines changed: 23 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -3,19 +3,32 @@ title: Dynamic Data Models
33
description: Generate data models programmatically using Jinja with Python or JavaScript for dynamic schema creation.
44
---
55

6-
Dynamic data models
6+
Cube supports authoring data models dynamically — useful for de-duplicating
7+
common patterns across cubes, generating models from a remote source, or
8+
adapting the schema per tenant at runtime.
79

8-
<Frame>
10+
Pick the approach that matches the language your data models are written in:
11+
12+
<CardGroup cols={2}>
13+
<Card title="Jinja & Python" icon="brand-python" href="/docs/data-modeling/dynamic/jinja">
14+
Template YAML data models with Jinja, and use Python for loops, includes,
15+
and runtime generation.
16+
</Card>
17+
<Card title="JavaScript" icon="brand-javascript" href="/docs/data-modeling/dynamic/javascript">
18+
Generate cubes and views on-the-fly from JavaScript data models using
19+
`asyncModule()`.
20+
</Card>
21+
</CardGroup>
22+
23+
## How it fits together
24+
25+
The diagrams below show how YAML and JavaScript data models are parsed and
26+
compiled before they're served by Cube.
27+
28+
<Frame caption="YAML data models compiled with COMPILE_CONTEXT">
929
<img src="https://ucarecdn.com/44e17cc4-60cb-40c4-889b-aba17def7136/" />
1030
</Frame>
1131

12-
<Frame>
32+
<Frame caption="JavaScript data models compiled with COMPILE_CONTEXT">
1333
<img src="https://ucarecdn.com/7379561c-418e-49e2-9b94-be7c13b0f2de/" />
1434
</Frame>
15-
16-
<CardGroup cols={2}>
17-
<Card title="Jinja & Python" img="https://static.cube.dev/icons/python.svg" href="dynamic/jinja">
18-
</Card>
19-
<Card title="JavaScript" img="https://static.cube.dev/icons/javascript.svg" href="dynamic/javascript">
20-
</Card>
21-
</CardGroup>

docs-mintlify/docs/getting-started/migrate-from-core/index.mdx

Lines changed: 0 additions & 5 deletions
This file was deleted.

docs-mintlify/docs/integrations/power-bi/kerberos.mdx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@ It can be used to authenticate requests to [DAX API][ref-dax-api].
99
<Info>
1010

1111
Available on [Enterprise and above plans](https://cube.dev/pricing).
12-
Also requires the M [deployment tier](/admin/account-billing/pricing#deployment-tiers).
1312

1413
</Info>
1514

docs-mintlify/docs/integrations/power-bi/ntlm.mdx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@ authenticate requests to [DAX API][ref-dax-api].
99
<Info>
1010

1111
Available on [Enterprise and above plans](https://cube.dev/pricing).
12-
Also requires the M [deployment tier](/admin/account-billing/pricing#deployment-tiers).
1312

1413
</Info>
1514

docs-mintlify/reference/core-data-apis/dax-api/index.mdx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@ support for Power BI features.
1515
<Info>
1616

1717
Available on [Enterprise and above plans](https://cube.dev/pricing).
18-
Also requires the M [deployment tier](/admin/account-billing/pricing#deployment-tiers).
1918

2019
</Info>
2120

docs-mintlify/reference/core-data-apis/mdx-api.mdx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@ native [PivotTable][link-pivottable] in Excel.
1414
<Info>
1515

1616
Available on [Enterprise and above plans](https://cube.dev/pricing).
17-
Also requires the M [deployment tier](/admin/account-billing/pricing#deployment-tiers).
1817

1918
</Info>
2019

0 commit comments

Comments
 (0)