48 Commits
Author SHA1 Message Date
locadex-agent[bot] 4d699a3357 docs(locadex): add translations 2026-09-24 10:32:45 +00:00
Dale McDiarmid eeddd0c057 Ticker for clickstack 2026-09-21 10:27:07 +01:00
Shaun Struwig 05514a2629 Merge pull request #117515 from Blargian/codex/docs-cloud-recommended-card
Docs: improve Cloud onboarding and quickstart navigation in the docs
2026-09-02 22:05:06 +00:00
Shaun Struwig 07e8a984b8 Docs: Link contextual menu to MCP setup guide 2026-09-02 11:13:28 +02:00
Shaun Struwig bc522c10ef Docs: Fix documentation MCP contextual menu link 2026-09-02 10:52:11 +02:00
Shaun Struwig 8c20c0a618 Improve Cloud onboarding and quickstart navigation in docs 2026-09-01 14:42:23 +02:00
locadex-agent[bot] 2b98fd9599 Merge remote-tracking branch 'origin/master' into locadex/docs/parallel/t9n-master-f4x8sw95hlyj9qbmef3znv8x 2026-08-28 12:06:14 +00:00
Shaun Struwig 04fb6d579d Merge pull request #116558 from Blargian/codex/move-clickstack-nav
Docs: move ClickStack to Open source navigation section
2026-08-28 10:25:29 +00:00
locadex-agent[bot] a1a9923018 docs(locadex): add translations 2026-08-26 23:14:02 +00:00
Shaun Struwig 06f4235070 Move ClickStack to Open source navigation section 2026-08-26 19:17:02 +02:00
Shaun Struwig a473f0341b Merge remote-tracking branch 'upstream/master' into HEAD 2026-08-26 16:00:56 +02:00
Alexey Milovidov 627a2785b9 Add a drop-down web terminal to the documentation website
The Web UI (`play.html`) and clickhouse.com both drop an embedded
`clickhouse-client` session down from the top of the page when `~` is pressed.
The documentation website now does the same: a terminal icon at the left of the
top navigation, before "Home", and the `~` key toggle a panel that embeds
`https://play.clickhouse.com/webterminal?user=play`, the playground terminal
that clickhouse.com connects to as well.

The panel drops down below the navigation bar, so the icon stays visible and
keeps working as the close button; `Escape` inside the terminal and dragging the
bottom edge all the way up close it too. Closing keeps the session alive, and
the panel is remembered across reloads (the top-level tabs navigate with
`window.location`), reopening with a fresh session. It is a desktop feature: the
icon lives in the desktop tab bar, and the panel closes when the window narrows
past the breakpoint that hides that bar.

Note for the deployment: the `Content-Security-Policy` served for
`clickhouse.com/docs` must list `https://play.clickhouse.com` in `frame-src`,
otherwise the browser blocks the iframe and the panel stays empty. That header
comes from the clickhouse.com edge, not from this repository.
2026-08-24 00:20:39 +00:00
Shaun Struwig abc43cf62e Docs: keep MCP shortcut host and locale aware 2026-08-20 13:05:37 +02:00
Shaun Struwig 5057c13f1b Docs: move documentation MCP setup to its own page 2026-08-20 12:11:56 +02:00
locadex-agent[bot] 2e51d3cfdf docs(locadex): add translations 2026-08-14 09:28:34 +00:00
Shaun Struwig eea3070ad6 Merge branch 'master' into docs-clickhouse-private-multi-repo
# Conflicts:
#	docs/docs.json
2026-08-04 08:48:45 +02:00
Shaun Struwig 5d6f6991a0 Update docs.json to use clickhouse-private docs repo as source 2026-08-03 11:24:39 +02:00
Dominic Tran f685dfb573 Docs: restore missing sync changes
Restore approved documentation changes omitted during the Mintlify repository consolidation and reconcile them against current master.

Related: https://github.com/ClickHouse/mintlify-docs-dev/pull/168

Related: https://github.com/ClickHouse/mintlify-docs-dev/pull/286

Related: https://github.com/ClickHouse/mintlify-docs-dev/pull/296

Related: https://github.com/ClickHouse/mintlify-docs-dev/pull/315

Related: https://github.com/ClickHouse/mintlify-docs-dev/pull/316

Related: https://github.com/ClickHouse/mintlify-docs-dev/pull/318

Related: https://github.com/ClickHouse/mintlify-docs-dev/pull/319

Related: https://github.com/ClickHouse/mintlify-docs-dev/pull/321

Related: https://github.com/ClickHouse/mintlify-docs-dev/pull/323

Related: https://github.com/ClickHouse/mintlify-docs-dev/pull/324

Related: https://github.com/ClickHouse/mintlify-docs-dev/pull/329
2026-07-29 21:55:13 -05:00
ZachEddyandClaude Opus 5 6794c7a1b6 Docs: source ClickHouse Private navigation from airgap-docs
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
2026-07-29 11:52:45 -07:00
Shaun Struwig a33cadb967 Update docs.json with GTM 2026-07-24 20:14:37 +02:00
Shaun Struwig 306481082b Merge pull request #111760 from ClickHouse/codex/fix-merge-tree-setting-anchor
Docs: redirect legacy settings anchors before rendering
2026-07-24 12:39:07 +00:00
Shaun Struwig 929dd5f150 Run legacy settings redirects from a global script
Mintlify does not execute inline scripts emitted from MDX overview pages. Generate per-family route maps and load the matching map from the supported global client script before redirecting the legacy fragment. Preserve any query string so this works both during preview and after cutover.\n\nReview: https://github.com/ClickHouse/ClickHouse/pull/111760#discussion_r3644696443\nExample: https://clickhouse.com/docs/en/operations/settings/merge-tree-settings/#parts_to_throw_insert
2026-07-24 13:49:41 +02:00
locadex-agent[bot] 4cf4000073 fix(locadex): retranslate 2026-07-23 21:45:40 +00:00
Shaun Struwig 7d90d87bc7 Polish ClickStack navigation and architecture page 2026-07-14 14:44:14 +02:00
Shaun Struwig b10b41973d Docs: move chDB to root 2026-07-13 11:52:26 +02:00
Shaun Struwig 75f40ca4d2 Merge pull request #110097 from Blargian/codex/refine-integration-tables
Docs: Improve integration table presentation
2026-07-11 21:46:42 +00:00
Shaun Struwig 3557db5f44 Merge pull request #110083 from Blargian/codex/integrate-galaxy
Docs: add Galaxy analytics customization script for the Mintlify docs site
2026-07-11 16:02:45 +00:00
Shaun Struwig e4f462c219 Improve integration table presentation 2026-07-11 18:02:20 +02:00
Shaun StruwigandClaude Fable 5 aa1ce17737 Add Galaxy analytics customization script for the Mintlify docs site
Port the Galaxy analytics integration from the legacy Docusaurus site
(clickhouse-docs/src/lib/galaxy) to a Mintlify custom script. The script
tracks docs and knowledge-base page lifecycle events across SPA
navigation, batches them to the Galaxy API (disabled on localhost), and
carries UTM attribution plus the Galaxy visitor ID into ClickHouse Cloud
links.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-07-11 12:07:06 +02:00
mintlify[bot] bcd1084bfe chore: add download-pdf to contextual menu options 2026-07-11 08:44:18 +00:00
Shaun StruwigandClaude Fable 5 697dec6450 Spell Langfuse correctly
Fix "LangFuse" to "Langfuse" in the navigation item, the landing-page
card, and the adopters list. Locale trees are left to the translation
pipeline.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-07-10 18:12:43 +02:00
Shaun StruwigandClaude Fable 5 6e47bfac18 Docs: use $ref navigation fragments in docs.json
Replace the inlined English navigation in docs.json with $ref includes of
the per-directory navigation.json fragments, one per menu item. The
fragments were regenerated from the current docs.json content, since they
had drifted from the live sidebar after the docs consolidation (docs.json
was authoritative; the fragments were an inert one-time import).

Nested fragments are referenced relative to their parent fragment:
products/cloud/navigation.json refs ../bring-your-own-cloud/navigation.json,
and integrations/language-clients/navigation.json refs the
python/go/java/csharp fragments. Locale entries already used
{"language": ..., "$ref": "./<locale>/docs.json"} and are unchanged, as
are the Home tab, the Ecosystem item, and href-only menu items.

Verified by re-resolving all refs (dirname-relative, sibling keys
preserved) and deep-comparing with the pre-conversion navigation: the
resolved English navigation is identical. docs.json shrinks from 4060 to
194 lines; 23 fragments rewritten.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-07-10 15:12:39 +02:00
Shaun StruwigandClaude Fable 5 56ec4bf3b1 Docs: update index pages to match the sidebar
Fix section index pages whose listing tables had drifted from the sidebar
(docs.json):

- Rewrite the stale `guides/clickhouse` overview (former "Advanced guides")
  as one row per top-level sidebar entry.
- Remove listing rows that point at pages living in other sections
  (Cloud reference, Tools, Concepts, AI/ML guides, core concepts, About).
- Add listing rows for sidebar pages that were missing (`ALTER`, dictionary
  layouts, `SELECT` clauses, formats, window functions, functions overview,
  delete operations, tools and utilities, native interfaces, Managing
  ClickStack, chDB reference, data ingestion, data visualization).
- Link the previously unlinked object-storage rows on the ClickPipes home
  page.
- Add `reference/formats/GeoJSON` and
  `reference/functions/window-functions/ntile` to the sidebar: both pages
  exist and are linked from their section index tables but were absent from
  `docs.json`.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-07-10 14:01:29 +02:00
Shaun Struwig d58389ede0 Merge pull request #109586 from ClickHouse/docs-quickstarts-improvements
Docs: overhaul the quickstarts explorer
2026-07-08 22:00:53 +00:00
Shaun Struwig ead8c93fd9 Merge pull request #109765 from ClickHouse/remove-integrations-banner
Docs: remove the site announcement banner for now
2026-07-08 12:28:35 +00:00
Shaun StruwigandClaude Opus 4.8 2ae899f939 Docs: remove the site announcement banner for now
Remove the top-of-page announcement banner from `docs/docs.json`. It
can be re-added later when there is a new announcement to surface.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-07-08 13:46:43 +02:00
Shaun StruwigandClaude Fable 5 3b2c9dfc5f Cloud API explorer: Beta tag on ClickStack and Postgres groups
The spec marks all ClickStack and Postgres operations with
x-badges: [{"name": "Beta"}] (as shown on the swagger page), so tag
those navigation groups with Mintlify's group-level tag field.

The spec also marks a subset of Service (8/25), Backup (4/8), and
Prometheus (2/4) operations as Beta; Mintlify has no per-endpoint badge
that docs.json can set (it ignores x-badges), so those would need the
API team to add x-mint: metadata to the operations in the spec.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-07-07 19:05:37 +02:00
Shaun StruwigandClaude Fable 5 cd913da4b0 Group the Cloud API explorer like the swagger page
The Cloud API reference in the explorer was a single flat auto-populated
group. Mintlify's group display names (x-group) can't produce the
swagger page's grouping: it lives on tag objects inside the OpenAPI
document (which is the API team's hosted spec, not in this repo) and
only renames a single tag's group, it cannot combine several tags into
one group. Instead, use Mintlify's selective endpoints: the 'API
reference' group keeps openapi: https://api.clickhouse.cloud/v1 as the
inherited default spec and nested groups list each endpoint as a
'METHOD /path' page.

Groups mirror https://clickhouse.com/docs/cloud/manage/api/swagger:
Organization (+ Billing, User management, Role management), Service
(+ Backup), OpenAPI, Prometheus, ClickPipes, ClickStack, Postgres —
109 endpoints, every operation in the spec listed exactly once.

Note: newly added API endpoints no longer appear automatically; they
must be added to docs.json.

https://www.mintlify.com/docs/api-playground/openapi-setup

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-07-07 18:18:10 +02:00
Shaun StruwigandClaude Fable 5 cf8f032dc8 Docs: move Quickstarts above Introduction in the Get started menu
Move the get-started/quickstarts/home entry to the top of the
"Get started" navigation group, above the "Introduction" group, in
docs.json and its eight locale mirrors.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-07-06 23:00:47 +02:00
Shaun Struwig 516a9aa987 Revert "Docs: landing page + quickstart explorer improvements" 2026-07-06 19:57:19 +02:00
Shaun StruwigandClaude Fable 5 7720789781 Docs: move Quickstarts above Introduction in the Get started menu
Move the get-started/quickstarts/home entry to the top of the
"Get started" navigation group, above the "Introduction" group, in
docs.json and its eight locale mirrors.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-07-06 15:50:25 +02:00
Shaun StruwigandClaude Opus 4.8 c810e607fd Repoint docs "Raise issue" button at the Documentation issue form
Mintlify renders a default "Raise issue" feedback link that opens a blank
issue (`issues/new?title=Issue on docs&body=Path: <page>`). Rewrite it
client-side to the repository's Documentation issue form, carrying the
current page path into the form's `page` field.

- `_site/customizations/raise-issue-link.js` finds Mintlify's default link
  and repoints its `href` at
  `issues/new?template=60_documentation-issue.yaml&page=<path>`. It uses a
  `MutationObserver` because Mintlify is a SPA and re-renders the link on
  navigation; the rewrite is idempotent and only touches the default link.
- `docs.json` registers the script.
- `60_documentation-issue.yaml` gains a `page` input (id `page`) that the
  link pre-fills.
- `README.mdx` documents the script.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-07-04 21:37:29 +02:00
Shaun StruwigandClaude Opus 4.8 0d8aa4ecc9 Port mintlify-docs-dev changes: Clarity integration + sticky sidebar header
Apply two changes merged in ClickHouse/mintlify-docs-dev:
- #326: add the Microsoft Clarity analytics integration to docs.json
  (integrations.clarity.projectId).
- #327: make the sidebar logo/search/Ask AI header rows sticky by moving the
  scroll boundary onto #navigation-items (CSS-only, desktop sidebar).

Related: https://github.com/ClickHouse/mintlify-docs-dev/pull/326
Related: https://github.com/ClickHouse/mintlify-docs-dev/pull/327

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-07-04 17:33:10 +02:00
Shaun StruwigandClaude Opus 4.8 9b6c25fe12 Convert static doc PNGs to lossless WebP
The `docs/images` tree is ~218 MB, dominated by ~2,000 screenshots. The PNGs
were already losslessly optimized (oxipng finds no further gains), so the only
lossless lever left is a more efficient container. AVIF is unsupported by
Mintlify, so convert static PNGs to lossless WebP (pixel-identical, universally
supported).

Encoded each PNG with `cwebp -lossless -q 100 -m 6`, keeping the WebP only when
it is smaller than the source (19 PNGs where WebP was larger are left as-is),
and rewrote every reference across English and all locale pages.

  converted 2042 PNGs: 131.0 MB -> 92.5 MB (-29.4%)
  images/ tree: 218 MB -> 179 MB
  3737 text files updated; internal-link check passes with 0 errors

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-07-03 17:30:56 +02:00
Shaun StruwigandClaude Opus 4.8 584a980971 Consolidate all docs into ClickHouse/ClickHouse
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-07-03 09:48:05 +02:00
Shaun Struwig ddce10f3d6 Fix mint validate issues 2026-05-18 20:24:38 +02:00
Shaun Struwig 2dab53ffd1 Trim down docs.json, and remove files left over from previous migration that were never cleaned up 2026-05-18 17:52:24 +02:00
Shaun Struwig e67db604ef Add docs.json and .mintignore files in advance of PR to move docs back into ClickHouse/ClickHouse repo 2026-05-18 17:40:56 +02:00