Commit Graph
12 Commits
Author SHA1 Message Date
Brandon Pereira bc599637c7 Use <YOUR_SERVICE_NAME> for the service-name placeholder
Rename the service-name placeholder from <MY_SERVICE_NAME> to
<YOUR_SERVICE_NAME> across the SDK pages and the validator allowlist, matching
the <YOUR_...> convention of the other standardized placeholders.
2026-09-11 16:39:21 -06:00
Brandon Pereira 18277b71c9 Standardize ClickStack SDK docs for in-app onboarding
The HyperDX in-app onboarding mirrors the SDK guides under
docs/clickstack/ingesting-data/sdks/ from this single source of truth, so it
parses them by convention. This standardizes those conventions and adds a
scoped validator so a drifting page cannot silently break the app's parsing.

- Add a `<ClickStackIntegrates signals={[...]} />` component (new snippet at
  docs/snippets/components/ClickStackIntegrates/) that renders the
  "This guide integrates" indicator as ClickHouse-yellow pills for the
  supported signals. The `signals` prop (logs/metrics/traces) is the single
  source of truth the app parses; it replaces the drifting hand-written blocks
  (HTML tables and ad-hoc bullet lists across the pages).
- Standardize replaceable env-var placeholders: `<YOUR_INGESTION_API_KEY>`
  (was also bare, `***`-wrapped, and `<YOUR_INGESTION_KEY>`),
  `<YOUR_OTEL_COLLECTOR_HTTP_ENDPOINT>` for the OTLP endpoint (was
  localhost:4318 / your-otel-collector:4318, and fixes the
  `<YOU_OTEL_COLLECTOR_HTTP_ENDPOINT>` typo), and `<MY_SERVICE_NAME>` for the
  service name (was `<NAME_OF_YOUR_APP_OR_SERVICE>` / `<YOUR_APP_NAME>`).
- Fix a stray newline in the index keywords.
- Add ci/jobs/scripts/docs/sdk_docs_check.py enforcing all of the above: the
  ClickStackIntegrates component + valid signals, an allowlist of `<UPPER_SNAKE>`
  placeholders (so a new typo/variant is caught generically), and exact
  deployment tab titles (Managed ClickStack / ClickStack Open Source). It is
  wired into the existing "Docs check (Mintlify)" job and gated to run only when
  an SDK page, the component, or the validator changes.

Closes: https://linear.app/clickhouse/issue/HDX-5262/standardize-clickstack-sdk-docs-for-in-app-onboarding
2026-09-11 16:35:48 -06:00
Shaun Struwig 1f09635504 Retire redundant docs pages and keep quickstarts searchable 2026-08-26 13:00:27 +02:00
mintlify[bot] 561eeeb8f5 docs: port PR6598 - remove ClickStack exponential histogram unsupported note 2026-07-28 20:48:52 +00:00
Shaun Struwig 3335bee245 Docs: correct remaining settings references
Use the canonical asynchronous insert timeout anchor, leave the obsolete timeout setting unlinked, and correct the data skipping setting name.

Review: https://github.com/ClickHouse/ClickHouse/pull/111847
2026-07-26 13:28:31 +02:00
Shaun Struwig 5284955087 Update links to split settings pages 2026-07-24 22:11:52 +02:00
Shaun Struwig fb4661a347 Docs: preserve badge page content
Use named badge imports so Mintlify renders both the badge and the remaining page content. Apply the MCP configuration fix to localized homepages and encode newlines explicitly to preserve JSON indentation.

Review: https://github.com/ClickHouse/ClickHouse/pull/111797#discussion_r3646054125
2026-07-24 17:09:44 +02:00
Shaun Struwig 16cf631cff Flatten removed docs landing-page redirects
Verify deleted landing pages against docs/_migration/slug-map.csv, restore pages with introductory content, and route every legacy landing URL directly to its canonical overview.

Verified: https://clickhouse.com/docs/cloud/manage/api/swagger
2026-07-23 22:15:04 +02:00
Shaun Struwig c582d8e614 Simplify docs navigation root pages
Move navigation roots into their groups as first children, remove redundant landing pages, update sidebar labels and links, and redirect every removed route to its canonical overview page.

Verified the legacy Swagger entry point:
https://clickhouse.com/docs/cloud/manage/api/swagger
2026-07-23 21:48:25 +02:00
Shaun StruwigandClaude Fable 5 32ebfe889e Move step headings into Step title/id props across migrated docs
Rewrites every <Step> whose first content line is a markdown heading
into <Step title="..." id="...">, so the step number no longer
renders above the title. Explicit {#anchor} slugs are carried
verbatim into id (the DOM anchor target, so existing deep links keep
resolving), anchorless headings get their previously auto-generated
slug frozen, and titles with inline markup become JSX fragment
props, e.g. title={<>Create <code>column_user</code></>}.

1207 steps in 186 files, English content and snippets only; the
generated locale trees are left untouched for the translation
pipeline to regenerate. All modified files pass an MDX parse check,
and the links, locale-links, and redirects modes of the lychee check
pass before and after.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-07-10 12:58:37 +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