Repository navigation
Docs: regenerate the Vortex and SQLite format pages and remove docs/_migration - #130608
3 commits merged into
Conversation
The format page generator (`format_generators` in `ci/jobs/scripts/docs/autogenerate/autogenerate_docs.py`) discovers pages only through the matched rows of `docs/_migration/slug-map.csv`. Neither `reference/formats/Vortex.mdx` nor `reference/formats/SQLite.mdx` had a row, so the nightly docs job never regenerated them and `Vortex.mdx` still described the `String` mapping from before ClickHouse#130234 (written as `Binary`, no `output_format_vortex_string_as_string` row). Add the two rows in the shape of the Puffin rows and regenerate both pages with the generator (`--write --only format:Vortex` / `format:SQLite`). The SQLite page change is the generator's link rewrite of the database engine link to its current path. Co-Authored-By: Claude Opus 5.5 <[email protected]>
Internal second-model review: adjudication log (click to expand)Pre-publication review by an independent model (engine: codex; 0 findings), plus my own review (2 nits).
Severity: ❌ blocker / Session id: cron:clickhouse-review-slot-9:20261110-200200 |
|
cc @dhtclk, could you review this? Registers the Vortex and SQLite format pages in docs/_migration/slug-map.csv so the nightly docs job regenerates them, and includes the regenerated pages. |
Preview approval requiredThis pull request comes from a fork, so Mintlify won't build a preview until someone with write access approves commit |
Pre-PR validation gate (click to expand)
Session id: cron:clickhouse-impl-slot-7:20261110-195000 |
|
Workflow [PR], commit [9769069] Summary: ❌
AI ReviewSummaryThe PR restores regeneration of the Missing context / blind spots
Final VerdictStatus: ✅ Approve. No new inline findings. |
|
@groeneai at this stage we can get rid of slugmap and the entire _migration folder. We're completely migrated across. If we're relying on this file for any CI checks, please correct this. |
|
Measured on master, the only CI consumer of
The PR-time Docs check does not read it ( I'll rework this PR accordingly: drop the two new rows, discover those pages from the |
The reference docs generator found its destination pages and resolved legacy links through `docs/_migration/slug-map.csv`, a snapshot of the Docusaurus to Mintlify migration. Pages added or moved since then were silently skipped (`Vortex`, `SQLite`) or linked through stale routes. - Every generator names its Mintlify page (`dest`) and the page's former Docusaurus path (`source_docu`, which relative links in the source registrations are written against). - The eight page families discover their pages by walking their `reference/` directory, as database engines already did. - The Markdown to MDX transforms move next to the generator as `mintlify_transform.py`. Only the transforms that some registration can trigger are kept; the migration driver, its per-page overrides and the slug map reader are dropped. - Legacy links resolve through the docs tree plus the site redirect table `docs/_site/redirects.json`. A full regeneration with the old and the new generator writes the same page set and the same content, except one link in `ODBCDriver2.mdx`: the ODBC page moved to `concepts/features/interfaces/odbc/index.mdx`, which the stale slug-map row hid. The regenerated page is included. Co-Authored-By: Claude Opus 5.5 <[email protected]>
Nothing reads it any more: the reference docs generator discovers its pages from the `reference/` directories and resolves legacy links through `docs/_site/redirects.json`. Drop the folder (slug map, alias table, one-shot migration scripts) and the exclusions that only existed for it in `navigation_check.py`, `lychee.toml` and the docs README. Co-Authored-By: Claude Opus 5.5 <[email protected]>
Vortex and SQLite format pagesVortex and SQLite format pages and remove docs/_migration
Internal second-model review: adjudication log (click to expand)Pre-publication review of the rework by an independent model (engine: codex; 2 findings), plus my own review (3 nits).
Severity: ❌ blocker / Session id: cron:clickhouse-review-slot-9:20261110-222500 |
Pre-PR validation gate (click to expand)
Session id: cron:clickhouse-impl-slot-5:20261110-220000 |
|
I reworked this PR as discussed: the docs generator now finds its pages in the |
CI finish ledger - 9769069Every failure below has an owner: a fixing PR (mine or external), or a full-effort fix task
CIDB has no other Session id: cron:our-pr-ci-monitor:20261110-230008 |
|
Not yet. On today's master build (
Converting these in the sources would make the transform removable. That edits registrations across many |
@groeneai please convert these in the sources. In a separate PR is fine. |
|
Acknowledged. I'm converting the remaining Docusaurus syntax in the source registrations (and the generator's settings SQL) to Mintlify, in a separate PR that also removes |
|
Opened #130905. It converts the sources and deletes |
Conflicts: - docs/_migration/migrate.py, docs/_migration/slug-map.csv: master modified them; this branch deletes docs/_migration (moved to the generator in ClickHouse#130608, removed here), so they stay deleted. - ci/jobs/scripts/docs/autogenerate/test_session_settings_split.py: master added a `migrate.rewrite_links` fenced-link check next to the `migrate.transform_imports` checks this branch already removed with the transform; kept this branch's side. Co-Authored-By: Claude Opus 5.5 <[email protected]>
5327cf5
Related: #130423
Related: #130234
Changelog category (leave one):
Changelog entry (a user-readable short description of the changes that goes into CHANGELOG.md):
The
Vortexformat page now documents thatStringcolumns are written asUtf8and theoutput_format_vortex_string_as_stringsetting.Description
The
Vortexformat page still says thatStringcolumns are written asBinary, although master writesUtf8since #130234 (flagged in #130423 (comment)). The nightly docs generator never regenerated it:autogenerate_docs.pyfound its pages and their destinations throughdocs/_migration/slug-map.csv, and pages added later (Vortex,SQLite) were skipped without an error.Change, as asked in review, so the generator no longer reads
docs/_migration:reference/directory;mintlify_transform.py, unchanged except that they take the docs root fromLookups; the migration driver, its per-page overrides and the transforms no current registration triggers are dropped;docs/_site/redirects.json;docs/_migrationis deleted, with its exclusions innavigation_check.py,lychee.tomlanddocs/README.md.Validation: full
--writeruns of the old and the new generator, with the same master binary, write the same 1131 files with identical content, except one link inODBCDriver2.mdx:/concepts/features/interfaces/odbcbecomes/concepts/features/interfaces/odbc/index, because that page moved toodbc/index.mdxafter its slug-map row was written.Vortex,SQLiteandODBCDriver2are regenerated here. Internal links, redirects and navigation checks pass.Four open PRs that add slug-map rows will conflict on the deleted file; dropping the row is enough, since their pages are found from the directory.
This PR changes generated regions, so the Docs check needs the
pr-autogenerated-docslabel.🤖 Generated with Claude Code
Workflow [PR]
Sync PR [sync-upstream/pr/130608]
Version info
26.11.1.2511-master(included in26.11and later)