-
Notifications
You must be signed in to change notification settings - Fork 430
Clickable breadcrumbs #2779
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
Merged
Merged
Clickable breadcrumbs #2779
Changes from 19 commits
Commits
Show all changes
42 commits
Select commit
Hold shift + click to select a range
8b1eb44
Allow clickable breadcrumbs and don't show index files as a child of …
Blargian 04d6f55
Add table of contents/overview pages where missing
Blargian bbe8f26
Merge branch 'main' into menu-improvement
Blargian c3ca4c7
fix sidebars.js tableau links
Blargian 654fe0f
Add landing page for Manage and Deploy
Blargian d753989
Update sidebars for security and authentication, tools and utilities
Blargian 2852efc
restore en/cloud/manage/api files which are autogenerated, were commi…
Blargian c68b309
remove unused code
Blargian da22cb1
fix fail to build on redirect error
Blargian cb41edd
revert commited changes to autogenerated en/cloud/manage/api
Blargian 7680c8b
fix invitations-api-reference
Blargian e696874
add files whose content is autogenerated during build to git ignore
Blargian c3546a5
update native clients & interfaces page and order sidebar section alp…
Blargian db2756f
Merge branch 'main' into menu-improvement
Blargian 3e7ae8a
fix build error due to interfering redirects
Blargian 72c5ff7
fix data sources and data visualization menus
Blargian 951888b
add landing page for data ingestion menu item and alphabetize
Blargian ac5d7c2
add landing pages for chDB
Blargian 482ff05
Merge branch 'main' into menu-improvement
Blargian 19b98d0
Merge branch 'main' into menu-improvement
Blargian a0fdfb6
show overview pages separate from landing pages
Blargian b0f7ce6
fix redirects
Blargian 90a8b8a
Merge branch 'main' of https://github.com/ClickHouse/clickhouse-docs …
Blargian 53548ca
fix broken links, redirects etc
Blargian ab5e326
remove sidebar link to engines/index which will be added from main re…
Blargian 21844ff
Merge branch 'main' of https://github.com/ClickHouse/clickhouse-docs …
Blargian 892eb92
add landing pages to additional pages
Blargian 89a8f21
remove security-and-authentication which are ClickHouse/ClickHouse docs
Blargian 6529a5f
remove cloud API reference files
Blargian 84d7fe8
add redirects for pages which had slugs changed
Blargian eb48800
trigger CI after merging fix for broken hashes
Blargian a56f1dc
Trigger CI
Blargian 51c7ce2
remove redirect which will overwrite an existing path
Blargian 33ad5f9
change private network back to private link
Blargian 2a30360
add slug for integrations/migration overview page
Blargian 5827386
move table of contents script to scripts directory
Blargian 32ba6c2
add new lines to end of files and modify python script to do the same
Blargian 07c366b
rename data-modelling-overview to index as per convention
Blargian bdb1ff1
fix misaligned tables
Blargian b56eccd
Merge branch 'main' of https://github.com/ClickHouse/clickhouse-docs …
Blargian 452ffb8
Trigger CI
Blargian 4a3e2d6
Update index.ts
gingerwizard File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,44 @@ | ||
| import json | ||
| import os | ||
|
|
||
| """ | ||
| This script is used to automatically generate a table of contents from the guide markdown files. | ||
| The table of contents is used in index.md. | ||
|
|
||
| It is only necessary to run this script if a new guide .md file has been added to the guides directory. | ||
| """ | ||
|
|
||
|
|
||
| def extract_title_and_slug(filename): | ||
| with open(filename, "r") as f: | ||
| lines = f.readlines() | ||
|
|
||
| title, slug = None, None | ||
| for line in lines: | ||
| if line.startswith("title:"): | ||
| title = line.strip().split(": ")[1] | ||
| elif line.startswith("slug:"): | ||
| slug = line.strip().split(": ")[1] | ||
| if title and slug: | ||
| return {"title": title, "slug": slug} | ||
|
|
||
| return None | ||
|
|
||
|
|
||
| def main(): | ||
| json_array = [] | ||
| current_directory = os.getcwd() | ||
| for filename in os.listdir(current_directory): | ||
| if filename.endswith(".md") and filename != "index.md": | ||
| result = extract_title_and_slug(filename) | ||
| if result: | ||
| json_array.append(result) | ||
|
|
||
| json_array = sorted(json_array, key=lambda x: x["title"]) | ||
|
|
||
| with open("table_of_contents.json", "w") as f: | ||
| json.dump(json_array, f, indent=4) | ||
|
|
||
|
|
||
| if __name__ == "__main__": | ||
| main() |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,13 @@ | ||
| --- | ||
| title: chDB Guides | ||
| slug: /en/chdb/guides | ||
| description: Index page for chDB guides | ||
| keywords: [chdb, guides] | ||
| --- | ||
|
|
||
| import TableOfContentsJSON from './table_of_contents.json' | ||
| import { TableOfContents } from '/src/components/TableOfContents' | ||
|
|
||
| Take a look at our chDB developer guides below: | ||
|
|
||
| <TableOfContents items={TableOfContentsJSON} /> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,30 @@ | ||
| [ | ||
| { | ||
| "title": "How to query Apache Arrow with chDB", | ||
| "slug": "/en/chdb/guides/apache-arrow" | ||
| }, | ||
| { | ||
| "title": "How to query Pandas DataFrames with chDB", | ||
| "slug": "/en/chdb/guides/pandas" | ||
| }, | ||
| { | ||
| "title": "How to query Parquet files", | ||
| "slug": "/en/chdb/guides/querying-parquet" | ||
| }, | ||
| { | ||
| "title": "How to query a remote ClickHouse server", | ||
| "slug": "/en/chdb/guides/query-remote-clickhouse" | ||
| }, | ||
| { | ||
| "title": "How to query data in an S3 bucket", | ||
| "slug": "/en/chdb/guides/querying-s3" | ||
| }, | ||
| { | ||
| "title": "JupySQL and chDB", | ||
| "slug": "/en/chdb/guides/jupysql" | ||
| }, | ||
| { | ||
| "title": "Using a clickhouse-local database", | ||
| "slug": "/en/chdb/guides/clickhouse-local" | ||
| } | ||
| ] | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,17 @@ | ||
| --- | ||
| title: Language Integrations Index | ||
| slug: /en/chdb/install | ||
| description: Index page for chDB language integrations | ||
| keywords: [python, NodeJS, Go, Rust, Bun, C, C++] | ||
| --- | ||
|
|
||
| Instructions for how to get setup with chDB are available below for the following languages and runtimes: | ||
|
|
||
| | Language | | ||
| |----------------------------------------| | ||
| | [Python](/docs/en/chdb/install/python) | | ||
| | [NodeJS](/docs/en/chdb/install/nodejs) | | ||
| | [Go](/docs/en/chdb/install/go) | | ||
| | [Rust](/docs/en/chdb/install/rust) | | ||
| | [Bun](/docs/en/chdb/install/bun) | | ||
| | [C and C++](/docs/en/chdb/install/c) | |
2 changes: 1 addition & 1 deletion
2
docs/en/chdb/data-formats.md → docs/en/chdb/reference/data-formats.md
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,11 @@ | ||
| --- | ||
| title: chDB Technical Reference | ||
| slug: /en/chdb/reference | ||
| description: Data Formats for chDB | ||
| keywords: [chdb, data formats] | ||
| --- | ||
|
|
||
| | Reference page | | ||
| |---------------------------------------------------| | ||
| | [Data Formats](/en/chdb/reference/data-formats) | | ||
| | [SQL Reference](/en/chdb/reference/sql-reference) | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,22 @@ | ||
| --- | ||
| title: SQL Reference | ||
| sidebar_label: SQL Reference | ||
| slug: /en/chdb/reference/sql-reference | ||
| description: SQL Reference for chDB | ||
| keywords: [chdb, sql reference] | ||
| --- | ||
|
|
||
| chdb supports the same SQL syntax, statements, engines and functions as ClickHouse: | ||
|
|
||
| | Topic | | ||
| |-------------------------------------------------------------------| | ||
| | [SQL Syntax](/docs/en/sql-reference/syntax) | | ||
| | [Statements](/docs/en/sql-reference/statements) | | ||
| | [Table Engines](/docs/en/engines/table-engines) | | ||
| | [Database Engines](/docs/en/engines/database-engines) | | ||
| | [Regular Functions](/docs/en/sql-reference/functions) | | ||
| | [Aggregate Functions](/docs/en/sql-reference/aggregate-functions) | | ||
| | [Table Functions](/docs/en/sql-reference/table-functions) | | ||
| | [Window Functions](/docs/en/sql-reference/window-functions) | | ||
|
|
||
| For further information and examples, see the [ClickHouse SQL Reference](/docs/en/sql-reference). |
This file was deleted.
Oops, something went wrong.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,19 @@ | ||
| --- | ||
| slug: /en/cloud/bestpractices | ||
| keywords: [Cloud, Best Practices, Bulk Inserts, Asynchronous Inserts, Avoid Mutations, Avoid Nullable Columns, Avoid Optimize Final, Low Cardinality Partitioning Key] | ||
| title: Overview | ||
| hide_title: true | ||
| --- | ||
|
|
||
| # Best Practices in ClickHouse | ||
|
|
||
| This section provides six best practices you will want to follow to get the most out of ClickHouse Cloud. | ||
|
|
||
| | Best Practice | | ||
| |------------------------------------------------------------------------------------------------------------| | ||
| | [Use Bulk Inserts](/docs/en/cloud/bestpractices/bulk-inserts) | | ||
| | [Asynchronous Inserts](/docs/en/cloud/bestpractices/asynchronous-inserts) | | ||
| | [Avoid Mutations](/docs/en/cloud/bestpractices/avoid-mutations) | | ||
| | [Avoid Nullable Columns](/docs/en/cloud/bestpractices/avoid-nullable-columns) | | ||
| | [Avoid Optimize Final](/docs/en/cloud/bestpractices/avoid-optimize-final) | | ||
| | [Choose a Low Cardinality Partitioning Key](/docs/en/cloud/bestpractices/low-cardinality-partitioning-key) | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,27 @@ | ||
| --- | ||
| slug: /en/cloud/manage | ||
| keywords: [AWS, Cloud, serverless, management] | ||
| title: Overview | ||
| hide_title: true | ||
| --- | ||
|
|
||
| # Managing Cloud | ||
|
|
||
| In this section of the docs you will find all the information you may need about managing ClickHouse cloud. This section contains the following pages: | ||
|
|
||
| | Page | Description | | ||
| |-----------------------------------------------------------------------|------------------------------------------------------------------------------------------------------------------------------------------------| | ||
| | [Service Types](/docs/en/cloud/manage/service-types) | Describes the different service options, their features, and considerations for choosing the right one. | | ||
| | [Integrations](/docs/en/manage/integrations) | Covers ClickHouse Cloud's built-in integrations, custom integrations, and integrations that are not supported. | | ||
| | [Backups](/docs/en/cloud/manage/backups) | Describes how backups work in ClickHouse Cloud, what options you have to configure backups for your service, and how to restore from a backup. | | ||
| | [Monitoring](/docs/en/integrations/prometheus) | How to integrate Prometheus as a way to monitor ClickHouse cloud. | | ||
| | [Billing](/docs/en/manage/billing) | Explains the pricing model for ClickHouse Cloud, including the factors that affect the cost of your service. | | ||
| | [Configuring Settings](/docs/en/manage/settings) | Describes how to configure settings for ClickHouse Cloud. | | ||
| | [Replica-aware Routing](/docs/en/manage/replica-aware-routing) | Explains what Replica-aware Routing in ClickHouse Cloud is, its limitations, and how to configure it. | | ||
| | [Automatic Scaling](/docs/en/manage/scaling) | Explains how ClickHouse Cloud services can be scaled manually or automatically based on your resource needs. | | ||
| | [Service Uptime and SLA](/docs/en/cloud/manage/service-uptime) | Information about service uptimes and Service Level Agreements offered for production instances. | | ||
| | [Notifications](/docs/en/cloud/notifications) | Shows how ClickHouse Cloud notifications are received and how they can be customized. | | ||
| | [Upgrades](/docs/en/manage/updates) | Information on how upgrades are rolled out in ClickHouse Cloud. | | ||
| | [Delete Account](/docs/en/cloud/manage/close_account) | Information on how to close or delete your account when necessary. | | ||
| | [Programmatic API Access with Postman](/docs/en/cloud/manage/postman) | A guide to help you test the ClickHouse API using Postman. | | ||
| | [Troubleshooting](/docs/en/faq/troubleshooting) | A collection of commonly encountered issues and how to troubleshoot them. | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,20 @@ | ||
| --- | ||
| slug: /en/cloud/reference | ||
| keywords: [Cloud, reference, architecture, SharedMergeTree, Compute-Compute Separation, Bring Your Own Cloud, Changelogs, Supported Cloud Regions, Cloud Compatibility] | ||
| title: Overview | ||
| hide_title: true | ||
| --- | ||
|
|
||
| # Cloud Reference | ||
|
|
||
| This section acts as a reference guide for some of the more technical details of ClickHouse Cloud and contains the following pages: | ||
|
|
||
| | Page | Description | | ||
| |-----------------------------------------------------------------------|-----------------------------------------------------------------------------------------------------------| | ||
| | [Architecture](/docs/en/cloud/reference/architecture) | Discusses the architecture of ClickHouse Cloud, including storage, compute, administration, and security. | | ||
| | [SharedMergeTree](/docs/en/cloud/reference/shared-merge-tree) | Explainer on SharedMergeTree, the cloud-native replacement for the ReplicatedMergeTree and analogues. | | ||
| | [Warehouses](/docs/en/cloud/reference/compute-compute-separation) | Explainer on what Warehouses and Compute-Compute separation are in ClickHouse Cloud. | | ||
| | [BYOC (Bring Your Own Cloud)](/docs/en/cloud/reference/byoc) | Explainer on the Bring Your Own Cloud (BYOC) service available with ClickHouse Cloud. | | ||
| | [Changelogs](/docs/en/whats-new/cloud) | Cloud ChangeLogs and Release Notes. | | ||
| | [Cloud Compatibility](/docs/en/whats-new/cloud-compatibility) | A guide to what to expect functionally and operationally in ClickHouse Cloud. | | ||
| | [Supported Cloud Regions](/docs/en/cloud/reference/supported-regions) | A list of the supported cloud regions for AWS, Google and Azure. | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,15 @@ | ||
| --- | ||
| slug: /en/cloud/security/connectivity | ||
| title: connectivity overview | ||
| --- | ||
|
|
||
| # Connectivity | ||
|
|
||
| This section looks at connectivity and contains the following pages: | ||
|
|
||
| | Page | Description | | ||
| |----------------------------------------------------------------------|-------------------------------------------------------------------------------------------------------------------------------| | ||
| | [Setting IP Filters](/docs/en/cloud/security/setting-ip-filters) | A guide on how to control traffic to your ClickHouse services using IP access lists. | | ||
| | [Private Networking](/docs/en/cloud/security/private-link-overview) | Information on how to connect your services to your cloud virtual network. | | ||
| | [Accessing S3 Data Securely](/docs/en/cloud/security/secure-s3) | A guide on how to leverage role-based access to authenticate with Amazon Simple Storage Service(S3) and access data securely. | | ||
| | [Cloud IP Addresses](/docs/en/manage/security/cloud-endpoints-api) | Tables listing the static IPs and S3 endpoints for each supported cloud and region in ClickHouse Cloud. | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,19 @@ | ||
| --- | ||
| slug: /en/cloud/security | ||
| keywords: [Cloud, Security] | ||
| title: Overview | ||
| hide_title: true | ||
| --- | ||
|
|
||
| # ClickHouse Cloud Security | ||
|
|
||
| This section delves into security in ClickHouse Cloud and contains the following pages: | ||
|
|
||
| | Page | Description | | ||
| |------------------------------------------------------------------------------|---------------------------------------------------------------------------------------------------------------------------| | ||
| | [Shared Responsibility Model](en/cloud/security/shared-responsibility-model) | Information on the security features offered for each service type. | | ||
| | [Cloud Access Management](.) | Information on access control, authentication, SSO setup, common access management queries and how to invite new users. | | ||
| | [Connectivity](.) | Information on setting IP filters, private networking, secure access of S3 data and Cloud IP addresses. | | ||
| | [Customer Managed Encryption Keys](.) | Information about how customers can leverage their own Key Management Service (KMS) key. | | ||
| | [Audit Logging](en/cloud/security/audit-logging) | A guide to audit logging in ClickHouse Cloud. | | ||
| | [Privacy and Compliance](.) | Information on security and compliance of CLickHouse Cloud, a guide on how to view and correct your personal information. | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,14 @@ | ||
| --- | ||
| sidebar_label: Privacy and Compliance Overview | ||
| slug: /en/cloud/security/privacy-compliance-overview | ||
| title: Privacy Compliance Overview | ||
| --- | ||
|
|
||
| # Privacy and Compliance | ||
|
|
||
| This section contains the following pages: | ||
|
|
||
| | Page | Description | | ||
| |----------------------------------------------------------------------------|--------------------------------------------------------------| | ||
| | [Security and Compliance](/docs/en/cloud/security/security-and-compliance) | Security reports and privacy compliance of ClickHouse Cloud. | | ||
| | [Personal Data Access](/docs/en/cloud/security/personal-data-access) | Information on how to access your personal data. | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.