Skip to content

Docs: move legacy English pages to Mintlify - #114314

Merged
Blargian merged 5 commits into
ClickHouse:masterfrom
Blargian:codex/move-gini-doc-to-mintlify-v2
Aug 12, 2026
Merged

Blargian merged 5 commits into
ClickHouse:masterfrom
Blargian:codex/move-gini-doc-to-mintlify-v2

Conversation

@Blargian

@Blargian Blargian commented Aug 11, 2026 •

Copy link
Copy Markdown
Member

Moves the remaining legacy English documentation pages for gini and the Remote database engine from docs/en into the canonical Mintlify documentation tree.

The change also registers both pages in Mintlify navigation and the migration map, updates the Remote page's internal links to canonical routes, and preserves both legacy URLs with redirects. It commits the generated gini reference content and makes the Remote page autogenerated from its embedded source documentation, with tabs for Remote and RemoteSecure. This removes the obsolete docs/en tree and ensures both pages are included in the published documentation.

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):

Not applicable.

Version info

  • Merged into: 26.8.1.1208 (included in 26.8 and later)

@clickhouse-gh

clickhouse-gh Bot commented Aug 11, 2026 •

Copy link
Copy Markdown
Contributor

Workflow [PR], commit [56cabc9]

Summary: ✅


AI Review

Summary

This PR moves the legacy English gini and Remote reference pages into the Mintlify tree, wires navigation and redirects, and switches Remote to generated source documentation. I did not find any remaining correctness, documentation-generation, or migration issues in the current head; the earlier blank-page and missing-redirect problems are fixed.

Final Verdict

✅ No blocking issues found.

LLVM Coverage Report

Metric Baseline Current Δ
Lines 86.70% 86.70% +0.00%
Functions 92.00% 92.00% +0.00%
Branches 79.00% 79.00% +0.00%

Changed lines: Changed C/C++ lines covered: 76/76 (100.00%) · Uncovered code

Full report · Diff report

@clickhouse-gh clickhouse-gh Bot added the pr-documentation Documentation PRs for the specific code PR label Aug 11, 2026
@Blargian Blargian added the pr-autogenerated-docs PR that regenerates docs artifacts from source; exempt from the autogenerated-region edit guard label Aug 11, 2026
@Blargian
Blargian marked this pull request as ready for review August 11, 2026 13:03
Comment thread docs/_migration/slug-map.csv Resolved
@Blargian
Blargian requested a review from dhtclk August 11, 2026 14:51
@Blargian
Blargian added this pull request to the merge queue Aug 12, 2026
Merged via the queue into ClickHouse:master with commit e6184a2 Aug 12, 2026
181 checks passed
@Blargian
Blargian deleted the codex/move-gini-doc-to-mintlify-v2 branch August 12, 2026 08:19
@robot-ch-test-poll3 robot-ch-test-poll3 added the pr-synced-to-cloud The PR is synced to the cloud repo label Aug 12, 2026
groeneai added a commit to groeneai/ClickHouse that referenced this pull request Aug 14, 2026
Manerone asked for gini.mdx to keep a hand-written header above the
{/*AUTOGENERATED_START*/} marker, patterned on any.mdx. All four paths are
restored byte-identically to their merged state in ClickHouse#114314, which the previous
revert had removed as collateral.

The .mdx alone is not sufficient: without the slug-map row build_file_map
resolves no Mintlify destination and the nightly generator raises
ValueError: no Mintlify destination for
docs/sql-reference/aggregate-functions/reference/gini.md. With the row present
the generator reports the page as up to date, and gini would otherwise be the
only one of 163 aggregate pages absent from navigation.json.

A page carrying the markers cannot pass the generated-region guard without the
pr-autogenerated-docs label, which is what the guard's own message asks for.
pull Bot pushed a commit to Mu-L/ClickHouse that referenced this pull request Aug 21, 2026
Re-lands the gini aggregate function that was reverted in ClickHouse#113868, with the
three changes @Manerone specified in issue ClickHouse#113763: no
getArgumentsThatCanBeOnlyNull override, no returns_default_when_only_null
property, and no argument_type->onlyNull() branch in the creator.

The property was what made the factory build a real gini instance over
Nullable(Nothing) instead of letting AggregateFunctionFactory::getImpl return
nullptr, so gini(NULL) produced Float64 nan where every sum-family function
folds to Nullable(Nothing). Without the property the fold happens in the Null
combinator before any other combinator is applied, and the creator's only-null
branch becomes unreachable, which is why createAggregateFunctionSum has no
equivalent.

Runtime Nullable handling is a separate axis via getOwnNullAdapter and is
unchanged: gini over [1, NULL, 3] still returns 0.25.

The docs artifacts restore what ClickHouse#113868's wholesale revert removed from
@Blargian's merged Mintlify port (ClickHouse#114314): the gini.mdx page plus its
slug-map, navigation and redirect entries, taken verbatim from that commit.

Reported-by: Manerone
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