Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion docs/community-packages.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
sidebar_position: 10
sidebar_position: 11
sidebar_label: Community Packages
---

Expand Down
2 changes: 1 addition & 1 deletion docs/migrate-prisma.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
description: How to migrate from a Prisma project to ZenStack v3
sidebar_position: 12
sidebar_position: 13
---

import PackageInstall from './_components/PackageInstall';
Expand Down
2 changes: 1 addition & 1 deletion docs/migrate-v2.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
description: How to migrate from a ZenStack v2 project to v3
sidebar_position: 13
sidebar_position: 14
---

import PackageInstall from './_components/PackageInstall';
Expand Down
2 changes: 1 addition & 1 deletion docs/modeling/_category_.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
position: 3
position: 4
label: Data Modeling
collapsible: true
collapsed: true
2 changes: 1 addition & 1 deletion docs/orm/_category_.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
position: 4
position: 5
label: ORM
collapsible: true
collapsed: true
12 changes: 6 additions & 6 deletions docs/orm/quick-start.md → docs/quick-start.md
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
---
sidebar_position: 1
sidebar_position: 3
description: Quick start guide
---

import StackBlitzGithub from '@site/src/components/StackBlitzGithub';
import ZModelStarter from '../_components/_zmodel-starter.md';
import PackageInstall from '../_components/PackageInstall';
import PackageExec from '../_components/PackageExec';
import PackageDlx from '../_components/PackageDlx';
import ZModelStarter from './_components/_zmodel-starter.md';
import PackageInstall from './_components/PackageInstall';
import PackageExec from './_components/PackageExec';
import PackageDlx from './_components/PackageDlx';

# Quick Start

Expand Down Expand Up @@ -59,7 +59,7 @@ You can also always configure a project manually with the following steps:

:::info

By default, ZenStack CLI loads the schema from `zenstack/schema.zmodel`. You can change this by passing the `--schema` option. TypeScript files are by default generated to the same directory as the schema file. You can change this by passing the `--output` option. The default settings can also be changed as explained in the [CLI reference](../reference/cli#overriding-default-options).
By default, ZenStack CLI loads the schema from `zenstack/schema.zmodel`. You can change this by passing the `--schema` option. TypeScript files are by default generated to the same directory as the schema file. You can change this by passing the `--output` option. The default settings can also be changed as explained in the [CLI reference](./reference/cli#overriding-default-options).

You can choose to either commit the generated TypeScript files to your source control (recommended), or add them to `.gitignore` and generate them on the fly in your CI/CD pipeline.

Expand Down
2 changes: 1 addition & 1 deletion docs/recipe/_category_.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
position: 8
position: 9
label: Recipes
collapsible: true
collapsed: true
Expand Down
2 changes: 1 addition & 1 deletion docs/reference/_category_.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
position: 9
position: 10
label: Reference
collapsible: true
collapsed: true
Expand Down
2 changes: 1 addition & 1 deletion docs/samples.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
sidebar_position: 11
sidebar_position: 12
sidebar_label: Sample Projects
---

Expand Down
2 changes: 1 addition & 1 deletion docs/service/_category_.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
position: 5
position: 6
label: Query as a Service
collapsible: true
collapsed: true
2 changes: 1 addition & 1 deletion docs/studio.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
sidebar_position: 7
sidebar_position: 8
sidebar_label: Studio
---

Expand Down
2 changes: 1 addition & 1 deletion docs/utilities/_category_.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
position: 6
position: 7
label: Utilities
collapsible: true
collapsed: true
Expand Down