Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Docs - Add document for connector #615

Merged
merged 3 commits into from
Aug 19, 2024
Merged
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
3 changes: 2 additions & 1 deletion bearer.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,4 +31,5 @@ scan:
- packages/dbml-cli/__tests__/**
- packages/dbml-cli/jestHelpers.ts
- packages/dbml-core/__tests__/**
- packages/dbml-parser/__tests__/**
- packages/dbml-parser/__tests__/**
- dbml-homepage/docs/**
24 changes: 23 additions & 1 deletion dbml-homepage/configs/sidebars.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,29 @@ import { SidebarsConfig } from '@docusaurus/plugin-content-docs';
Create as many sidebars as you want.
*/
const SidebarConfigs: SidebarsConfig = {
docs: ['home', 'docs', 'cli', 'js-module'],
docs: [
'home',
'docs',
'cli',
{
type: 'category',
label: 'JS Module',
collapsed: false,
collapsible: true,
items: [
{
id: 'js-module/core',
type: 'doc',
label: '@dbml/core',
},
{
id: 'js-module/connector',
type: 'doc',
label: '@dbml/connector',
},
],
},
],
};

export default SidebarConfigs;
5 changes: 1 addition & 4 deletions dbml-homepage/docs/cli.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,8 @@ Before you begin, ensure you have met the following requirements:

## Installation

```bash
```bash npm2yarn
npm install -g @dbml/cli

# or if you're using yarn
yarn global add @dbml/cli
```

## Convert a DBML file to SQL
Expand Down
Loading
Loading