Skip to content

Commit c69d21e

Browse files
authored
Merge pull request #2779 from Blargian/menu-improvement
Clickable breadcrumbs
2 parents 8b33368 + 4a3e2d6 commit c69d21e

File tree

68 files changed

+1060
-324
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

68 files changed

+1060
-324
lines changed

.gitignore

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,4 +40,10 @@ FormatFactorySettingsDeclaration.h
4040
FormatFactorySettings.h
4141
Settings.cpp
4242

43+
# Files whose content gets autogenerated
44+
docs/en/cloud/manage/api/invitations-api-reference.md
45+
docs/en/cloud/manage/api/keys-api-reference.md
46+
docs/en/cloud/manage/api/members-api-reference.md
47+
docs/en/cloud/manage/api/organizations-api-reference.md
48+
docs/en/cloud/manage/api/services-api-reference.md
4349
.vscode

docs/en/chdb/getting-started.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -147,7 +147,7 @@ This is fine to do with variables defined in your program, but don't do it with
147147
## Configuring the output format
148148

149149
The default output format is `CSV`, but we can change that via the `output_format` parameter.
150-
chDB supports the ClickHouse data formats, as well as [some of its own](data-formats.md), including `DataFrame`, which returns a Pandas DataFrame:
150+
chDB supports the ClickHouse data formats, as well as [some of its own](/docs/en/chdb/reference/data-formats.md), including `DataFrame`, which returns a Pandas DataFrame:
151151

152152
```python
153153
result = chdb.query(

docs/en/chdb/guides/index.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
---
2+
title: chDB Guides
3+
slug: /en/chdb/guides
4+
description: Index page for chDB guides
5+
keywords: [chdb, guides]
6+
---
7+
8+
import TableOfContentsJSON from './table_of_contents.json'
9+
import { TableOfContents } from '/src/components/TableOfContents'
10+
11+
Take a look at our chDB developer guides below:
12+
13+
<TableOfContents items={TableOfContentsJSON} />
Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
[
2+
{
3+
"title": "How to query Apache Arrow with chDB",
4+
"slug": "/en/chdb/guides/apache-arrow"
5+
},
6+
{
7+
"title": "How to query Pandas DataFrames with chDB",
8+
"slug": "/en/chdb/guides/pandas"
9+
},
10+
{
11+
"title": "How to query Parquet files",
12+
"slug": "/en/chdb/guides/querying-parquet"
13+
},
14+
{
15+
"title": "How to query a remote ClickHouse server",
16+
"slug": "/en/chdb/guides/query-remote-clickhouse"
17+
},
18+
{
19+
"title": "How to query data in an S3 bucket",
20+
"slug": "/en/chdb/guides/querying-s3"
21+
},
22+
{
23+
"title": "JupySQL and chDB",
24+
"slug": "/en/chdb/guides/jupysql"
25+
},
26+
{
27+
"title": "Using a clickhouse-local database",
28+
"slug": "/en/chdb/guides/clickhouse-local"
29+
}
30+
]

docs/en/chdb/install/index.md

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
---
2+
title: Language Integrations Index
3+
slug: /en/chdb/install
4+
description: Index page for chDB language integrations
5+
keywords: [python, NodeJS, Go, Rust, Bun, C, C++]
6+
---
7+
8+
Instructions for how to get setup with chDB are available below for the following languages and runtimes:
9+
10+
| Language |
11+
|----------------------------------------|
12+
| [Python](/docs/en/chdb/install/python) |
13+
| [NodeJS](/docs/en/chdb/install/nodejs) |
14+
| [Go](/docs/en/chdb/install/go) |
15+
| [Rust](/docs/en/chdb/install/rust) |
16+
| [Bun](/docs/en/chdb/install/bun) |
17+
| [C and C++](/docs/en/chdb/install/c) |

docs/en/chdb/data-formats.md renamed to docs/en/chdb/reference/data-formats.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
title: Data Formats
33
sidebar_label: Data Formats
4-
slug: /en/chdb/data-formats
4+
slug: /en/chdb/reference/data-formats
55
description: Data Formats for chDB
66
keywords: [chdb, data formats]
77
---

docs/en/chdb/reference/index.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
---
2+
title: chDB Technical Reference
3+
slug: /en/chdb/reference
4+
description: Data Formats for chDB
5+
keywords: [chdb, data formats]
6+
---
7+
8+
| Reference page |
9+
|----------------------|
10+
| [Data Formats](/en/chdb/reference/data-formats) |
11+
| [SQL Reference](/en/chdb/reference/sql-reference) |
Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
---
2+
title: SQL Reference
3+
sidebar_label: SQL Reference
4+
slug: /en/chdb/reference/sql-reference
5+
description: SQL Reference for chDB
6+
keywords: [chdb, sql reference]
7+
---
8+
9+
chdb supports the same SQL syntax, statements, engines and functions as ClickHouse:
10+
11+
| Topic |
12+
|----------------------------|
13+
| [SQL Syntax](/docs/en/sql-reference/syntax) |
14+
| [Statements](/docs/en/sql-reference/statements) |
15+
| [Table Engines](/docs/en/engines/table-engines) |
16+
| [Database Engines](/docs/en/engines/database-engines) |
17+
| [Regular Functions](/docs/en/sql-reference/functions) |
18+
| [Aggregate Functions](/docs/en/sql-reference/aggregate-functions) |
19+
| [Table Functions](/docs/en/sql-reference/table-functions) |
20+
| [Window Functions](/docs/en/sql-reference/window-functions) |
21+
22+
For further information and examples, see the [ClickHouse SQL Reference](/docs/en/sql-reference).

docs/en/chdb/sql-reference.md

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

docs/en/cloud/bestpractices/index.md

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
---
2+
slug: /en/cloud/bestpractices
3+
keywords: [Cloud, Best Practices, Bulk Inserts, Asynchronous Inserts, Avoid Mutations, Avoid Nullable Columns, Avoid Optimize Final, Low Cardinality Partitioning Key]
4+
title: Overview
5+
hide_title: true
6+
---
7+
8+
# Best Practices in ClickHouse
9+
10+
This section provides six best practices you will want to follow to get the most out of ClickHouse Cloud.
11+
12+
| Best Practice |
13+
|------------------------------------------------------------------------------------------------------------|
14+
| [Use Bulk Inserts](/docs/en/cloud/bestpractices/bulk-inserts) |
15+
| [Asynchronous Inserts](/docs/en/cloud/bestpractices/asynchronous-inserts) |
16+
| [Avoid Mutations](/docs/en/cloud/bestpractices/avoid-mutations) |
17+
| [Avoid Nullable Columns](/docs/en/cloud/bestpractices/avoid-nullable-columns) |
18+
| [Avoid Optimize Final](/docs/en/cloud/bestpractices/avoid-optimize-final) |
19+
| [Choose a Low Cardinality Partitioning Key](/docs/en/cloud/bestpractices/low-cardinality-partitioning-key) |

0 commit comments

Comments
 (0)