Skip to content

Commit 4b7353e

Browse files
authored
Merge branch 'main' into image_component
2 parents 90f7c1e + ed2a345 commit 4b7353e

28 files changed

+614
-753
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,3 +62,4 @@ ClickHouse/
6262
# Ignore table of contents files
6363
docs/cloud/reference/release-notes-index.md
6464
docs/whats-new/changelog/index.md
65+
docs/cloud/manage/api/api-reference-index.md

contribute/style-guide.md

Lines changed: 31 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,38 @@
11
# ClickHouse docs style guide
22

3-
In this document, you will find a number of style guidelines for writing documentation.
4-
The rules in this guide are intended to assist in helping us to create a high
5-
quality documentation offering on par with the quality of ClickHouse itself.
3+
In this document, you will find a number of style guidelines for writing ClickHouse
4+
documentation. As documentation is a collective effort, these guidelines are
5+
intended to help all of us ensure quality and consistency across our documentation.
66

77
## YAML front matter
88

9-
Begin every new markdown document with YAML front-matter:
9+
Begin every new Markdown document with YAML front-matter:
1010

1111
```markdown
1212
---
13-
title: Using a clickhouse-local database
14-
sidebar_label: Using clickhouse-local database
13+
title: 'Using a clickhouse-local database'
14+
sidebar_label: 'Using clickhouse-local database'
1515
slug: /chdb/guides/clickhouse-local
16-
description: Learn how to use a clickhouse-local database with chDB
17-
keywords: [chdb, clickhouse-local]
16+
description: 'Learn how to use a clickhouse-local database with chDB'
17+
keywords: ['chdb', 'clickhouse-local']
1818
---
1919
```
2020

21+
### Associated markdown rule or CI check
22+
23+
#### front-matter validation
24+
25+
There is a custom Docusaurus plugin which runs on build that makes the following
26+
checks on front-matter:
27+
28+
- title, description and slug are specified.
29+
- keywords use flow style arrays with single quoted items e.g.
30+
`keywords: ['integrations']`
31+
- single quotes are used for title, description, slug, sidebar_label
32+
- there is an empty line after the YAML frontmatter block
33+
34+
For implementation details see [plugins/frontmatter-validation](https://github.com/ClickHouse/clickhouse-docs/tree/main/plugins/frontmatter-validation)
35+
2136
## Explicit header tags
2237

2338
Due to the way our translation system works, it is necessary to add an explicit
@@ -191,4 +206,12 @@ export function Anchor(props) {
191206
```
192207
- Replace `<span id="some-id"></span>` with `Anchor id="some-id"/>`
193208

209+
### Dangling pages
210+
211+
In order to prevent pages from becoming 'floating' or 'orphaned' it is
212+
necessary that you add a newly created page to `sidebars.js`. We have a [custom
213+
docusaurus plugin](plugins/checkFloatingPages.js) to catch dangling pages.
214+
215+
If there is some specific reason that you need to bypass this check, you can
216+
add an exception to `floating-pages-exceptions.txt` in the plugins directory.
194217

docs/cloud/manage/api/api-reference-index.md

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,7 @@ slug: /cloud/manage/api/
44
description: 'Landing page for Cloud API'
55
---
66

7-
| Page | Description |
8-
|----------------------------------------------------------------|----------------------------------|
9-
| [Invitations](/cloud/manage/api/invitations-api-reference) | API reference for invitations. |
10-
| [Keys](/cloud/manage/api/keys-api-reference) | API reference for keys. |
11-
| [Members](/cloud/manage/api/members-api-reference) | API reference for requests. |
12-
| [Organizations](/cloud/manage/api/organizations-api-reference) | API reference for organizations. |
13-
| [Services](/cloud/manage/api/services-api-reference) | API reference for services. |
14-
| [Usage cost](/cloud/manage/api/usageCost-api-reference) | API reference for services. |
7+
<!-- The table on this page is autogenerated by the script at https://github.com/ClickHouse/clickhouse-docs/blob/main/scripts/autogenerate-table-of-contents.sh
8+
if you've spotted an error or want to change something, please edit the YAML
9+
frontmatter of the files themselves.
10+
-->

docs/cloud/manage/api/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,4 +10,4 @@ This section contains reference documentation for Cloud API and contains the fol
1010
|---------------------------------------------------|--------------------------------------------------------------------------------------------------------------------------------------|
1111
| [Overview](/cloud/manage/api/api-overview)| Provides an overview of rate limits, Terraform Provider, Swagger (OpenAPI) Endpoint and UI and available support. |
1212
| [Managing API Keys](/cloud/manage/openapi) | Learn more about Cloud's API utilizing OpenAPI that allows you to programmatically manage your account and aspects of your services. |
13-
| [API Reference](/cloud/manage/api) | API reference documentation. |
13+
| [API Reference](/cloud/manage/api) | API reference documentation. |

docs/cloud/manage/jan2025_faq/dimensions.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -106,6 +106,7 @@ For example, ingesting 1 TB of data over 24 hours using the Kafka connector usin
106106
$$
107107
(0.25 \times 0.20 \times 24) + (0.04 \times 1000) = \$41.2
108108
$$
109+
<br/>
109110

110111
For object storage connectors (S3 and GCS),
111112
only the ClickPipes compute cost is incurred since the ClickPipes pod is not processing data

docs/cloud/reference/changelog.md

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,6 @@ import fast_releases from '@site/static/images/cloud/reference/june-13-fast-rele
2828
import share_queries from '@site/static/images/cloud/reference/may-30-share-queries.png';
2929
import query_endpoints from '@site/static/images/cloud/reference/may-17-query-endpoints.png';
3030

31-
3231
In addition to this ClickHouse Cloud changelog, please see the [Cloud Compatibility](/cloud/reference/cloud-compatibility.md) page.
3332
## March 7, 2025 {#march-7-2025}
3433

@@ -292,7 +291,7 @@ Services are available in GCP `us-central-1` to customers with the **Dedicated**
292291

293292
We recently announced the Private Preview for Compute-Compute Separation for AWS. We're happy to announce that it is now available for GCP and Azure.
294293

295-
Compute-compute separation allows you to designate specific services as read-write or read-only services, allowing you to design the optimal compute configuration for your application to optimize cost and performance. Please [read the docs](/cloud/reference/compute-compute-separation) for more details.
294+
Compute-compute separation allows you to designate specific services as read-write or read-only services, allowing you to design the optimal compute configuration for your application to optimize cost and performance. Please [read the docs](/cloud/reference/warehouses) for more details.
296295

297296
### Self-service MFA recovery codes {#self-service-mfa-recovery-codes}
298297

@@ -342,7 +341,7 @@ Please also check out our [Trust Center](https://trust.clickhouse.com/) for secu
342341

343342
For existing ClickHouse Cloud services, replicas handle both reads and writes, and there is no way to configure a certain replica to handle only one kind of operation. We have an upcoming new feature called Compute-compute separation that allows you to designate specific services as read-write or read-only services, allowing you to design the optimal compute configuration for your application to optimize cost and performance.
344343

345-
Our new compute-compute separation feature enables you to create multiple compute node groups, each with its own endpoint, that are using the same object storage folder, and thus, with the same tables, views, etc. Read more about [Compute-compute separation here](/cloud/reference/compute-compute-separation). Please [contact support](https://clickhouse.com/support/program) if you would like access to this feature in Private Preview.
344+
Our new compute-compute separation feature enables you to create multiple compute node groups, each with its own endpoint, that are using the same object storage folder, and thus, with the same tables, views, etc. Read more about [Compute-compute separation here](/cloud/reference/warehouses). Please [contact support](https://clickhouse.com/support/program) if you would like access to this feature in Private Preview.
346345

347346
<Image img={cloud_console_2} size="lg" alt="Diagram showing example architecture for compute-compute separation with read-write and read-only service groups" border />
348347

docs/cloud/reference/compute-compute-separation.md

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

docs/cloud/reference/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ This section acts as a reference guide for some of the more technical details of
1414
|-----------------------------------|-----------------------------------------------------------------------------------------------------------|
1515
| [Architecture](/cloud/reference/architecture) | Discusses the architecture of ClickHouse Cloud, including storage, compute, administration, and security. |
1616
| [SharedMergeTree](/cloud/reference/shared-merge-tree) | Explainer on SharedMergeTree, the cloud-native replacement for the ReplicatedMergeTree and analogues. |
17-
| [Warehouses](/cloud/reference/compute-compute-separation) | Explainer on what Warehouses and Compute-Compute separation are in ClickHouse Cloud. |
17+
| [Warehouses](/cloud/reference/warehouses) | Explainer on what Warehouses and Compute-Compute separation are in ClickHouse Cloud. |
1818
| [BYOC (Bring Your Own Cloud)](/cloud/reference/byoc)| Explainer on the Bring Your Own Cloud (BYOC) service available with ClickHouse Cloud. |
1919
| [Changelogs](/cloud/reference/changelogs) | Cloud Changelogs and Release Notes. |
2020
| [Cloud Compatibility](/whats-new/cloud-compatibility) | A guide to what to expect functionally and operationally in ClickHouse Cloud. |

0 commit comments

Comments
 (0)