Skip to content

Docs: regenerate reference documentation from source - #126475

Merged
Blargian merged 3 commits into
masterfrom
robot/docs-autogen
Oct 20, 2026
Merged

Blargian merged 3 commits into
masterfrom
robot/docs-autogen

Conversation

@clickhouse-gh

@clickhouse-gh clickhouse-gh Bot commented Oct 17, 2026 •

Copy link
Copy Markdown
Contributor

This pull request is opened automatically by the nightly documentation
autogeneration workflow. It regenerates settings, functions, SQL statements,
table and database engines, data types, formats, table functions, window
functions, dictionary sources and layouts, system tables, and asynchronous
metrics from the structured documentation embedded in the ClickHouse source and
exposed through the corresponding system.* tables.

The generator preserves page frontmatter and hand-written content outside the
{/*AUTOGENERATED_START*/} / {/*AUTOGENERATED_END*/} regions. Some pages are
fully generated below their frontmatter. Do not edit generated content by hand --
edit the structured documentation in the defining source code instead; the next
nightly run regenerates the pages.

Changelog category (leave one):

  • Documentation (changelog entry is not required)

Changelog entry (a user-readable short description of the changes that goes into CHANGELOG.md):


Workflow [PR]
Sync PR [sync-upstream/pr/126475]

Version info

  • Merged into: 26.11.1.278-master (included in 26.11 and later)

@clickhouse-gh clickhouse-gh Bot added the pr-autogenerated-docs PR that regenerates docs artifacts from source; exempt from the autogenerated-region edit guard label Oct 17, 2026
@clickhouse-gh
clickhouse-gh Bot requested review from Blargian and dhtclk October 17, 2026 07:38
@clickhouse-gh

clickhouse-gh Bot commented Oct 17, 2026 •

Copy link
Copy Markdown
Contributor Author

Workflow [PR], commit [52c057e]

Summary: ✅


AI Review

Summary

Regenerates reference documentation and settings navigation and explorer data from the structured source documentation, and corrects Markdown in the unique_key_bitmap_versions description. No actionable findings remain at 52c057e4a678610384ad1351f2a564db5f6c7aed; the previously reported compression-setting links are fixed.

Final Verdict

Status: ✅ Approve

@clickhouse-gh clickhouse-gh Bot added the pr-documentation Documentation PRs for the specific code PR label Oct 17, 2026
@mintlify

mintlify Bot commented Oct 17, 2026 •

Copy link
Copy Markdown
Contributor

Preview deployment for your docs. Learn more about Mintlify Previews.

Project Status Preview Updated
ClickHouse-docs 🟢 Ready View Preview Oct 19, 2026, 7:26 PM

alexey-milovidov pushed a commit to bacek/ClickHouse that referenced this pull request Oct 19, 2026
ClickHouse#125899 linked `output_format_compression_level` and `http_zlib_compression_level`
to each other with in-page `#anchor` links. The two settings are rendered into
different generated settings families (format settings and session settings).
The docs generator resolves an in-page setting anchor only against the routes of
the current family, so an anchor of the other family falls back to that family's
catch-all `other` page, which does not contain it. The daily docs regeneration
PR (ClickHouse#126475) then fails `Check internal links and anchors`:

    reference/settings/formats/other#http_zlib_compression_level | Cannot find fragment
    reference/settings/session-settings/other#output_format_compression_level | Cannot find fragment

Link to the absolute shard routes instead, as the existing cross-family links
already do (`min_insert_block_size_bytes` in FormatFactorySettings.h,
`input_format_json_named_tuples_as_objects` in Settings.cpp). The generator does
not rewrite a link that points into another family, so the routes are rendered
verbatim. Validated by regenerating the full docs tree with the patched binary
and running the CI lychee links check: 2 errors before, 0 after.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@clickhouse-gh

clickhouse-gh Bot commented Oct 19, 2026 •

Copy link
Copy Markdown
Contributor Author

Build profile diff (arm_release)

Comparing 52c057e4a with master a43327cde (stripped binary size, per-symbol sizes and ThinLTO time; compile times per translation unit against the most recent warmup build that recompiled it).

✅ No significant changes.

Binary sizes

programs/clickhouse-stripped: smaller than the master baseline by the known offset between the two builds, so the difference is not shown. A delta that differs from the offset by more than 50% of it is shown, in either direction.

The official master build is compiled with -g and a pull request build is not, and XRay counts debug instructions towards its instrumentation threshold, so master instruments thousands of functions more and its binary is ~0.4% larger no matter what the pull request does.

Object file sizes

106 object files changed (+56.57 KiB total), 0 added.

Object file Master PR Δ
contrib/zmij-cmake/CMakeFiles/_zmij.dir/__/zmij/zmij.cc.o 31.53 KiB 66.60 KiB +35.07 KiB (+111.25%)
src/CMakeFiles/dbms.dir/Storages/StorageMergeTreeAnalyzeIndexes.cpp.o 562.65 KiB 582.52 KiB +19.87 KiB (+3.53%)

719 more object files are built by the master warmup baseline only (it builds every object-file target, a pull request build only clickhouse-bundle) and not compared.

Compile time of recompiled translation units

831 translation units recompiled, 5871 s compile time in total, 830 of them have a recent master baseline.

Median compile-time ratio to the baselines is ×1.06 (machine-speed difference or a change affecting every TU); per-TU deltas below are relative to that ratio.
The matched translation units cost +438.9 s (+8%) in total before that adjustment.

Translation units without a recent master baseline:

  • programs/keeper/Keeper.cpp (clickhouse-keeper): 7.6 s

Job report

@Blargian
Blargian enabled auto-merge October 19, 2026 11:42
@Blargian
Blargian added this pull request to the merge queue Oct 20, 2026
Merged via the queue into master with commit c771962 Oct 20, 2026
179 checks passed
@Blargian
Blargian deleted the robot/docs-autogen branch October 20, 2026 04:01
@robot-clickhouse-ci-2 robot-clickhouse-ci-2 added the pr-synced-to-cloud The PR is synced to the cloud repo label Oct 20, 2026
alexey-milovidov pushed a commit to scanhex12/ClickHouse that referenced this pull request Oct 20, 2026
Column comments of system tables are rendered verbatim into the
generated docs pages. The comment added in ClickHouse#123008 named the sidecar
files as 'for_<target>' and '<csn>_for_<target>', so MDX parsed
`<target>` as an unclosed JSX tag and `mint validate` dropped
parts.mdx and dropped_tables_parts.mdx from the build (robot docs
regeneration PR ClickHouse#126475, `Validate docs.json`).

Write the two patterns as inline code, as other system column
comments do for placeholders.

Co-Authored-By: Claude Opus 5.5 <[email protected]>

This branch was successfully deployed

1 active deployment
staging - docs — 52c057e4 Deployed Oct 19, 2026 by mintlify[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

pr-autogenerated-docs PR that regenerates docs artifacts from source; exempt from the autogenerated-region edit guard pr-documentation Documentation PRs for the specific code PR pr-synced-to-cloud The PR is synced to the cloud repo

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants