Repository navigation
Move documentation publishing to the current site - #1313
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
cc9fc83 to
70b3f88
Compare
|
@zlareb1 Any reason to keep llms.txt and llms-full.txt in the repo? These get generated automatically now at https://loom.clickhouse.com/docs/llms.txt and https://loom.clickhouse.com/docs/llms-full.txt |
zlareb1
left a comment
There was a problem hiding this comment.
The retained MkDocs configuration still runs a hook that requires a deleted file. The locale edits also leave edited generated pages stamped with their old source revision.
zlareb1
left a comment
There was a problem hiding this comment.
The Python SDK snapshot and code.read scope-classification failures reproduce on this PR’s merge and on clean main. Both assertions pass with the tracked repair. Failed job · Repair #1293
|
@Blargian yes, can be removed in this PR |
zlareb1
left a comment
There was a problem hiding this comment.
The HTTP contract failure reproduces on clean main. The repair collects the transport before Hypothesis draws inputs. The HTTP contract workflow on the repair merge passed. Failed job · Repair #1325.
zlareb1
left a comment
There was a problem hiding this comment.
The publisher hooks and generated translation page edits are removed. The repository guide fails the required format check on this head.
zlareb1
left a comment
There was a problem hiding this comment.
The code.edit_context SDK snapshot, MCP primer, and read-scope failures reproduce on this PR's CI merge commit and on clean main before the repair. All five focused tests pass locally on the merged repair. Failed unit job · Repair #1328.
zlareb1
left a comment
There was a problem hiding this comment.
The prior format failure is fixed. The same four focused translation and release-link assertions pass on clean main and fail with the changed Markdown. The translation merge job also builds generated locale pages as MDX with write credentials.
|
@Blargian is attempting to deploy a commit to the ClickHouse Team on Vercel. A member of the Team first needs to authorize it. |
zlareb1
left a comment
There was a problem hiding this comment.
The source headings keep their release links. The generated site still drops the Quickstart anchor, omits the notice for retained translations of removed pages, and sends translated readers to the retired full index.
GitHub reports a conflict with main in .github/workflows/docs-site.yml, docs/index.md, and six other files. Resolve the conflicts against main.
zlareb1
left a comment
There was a problem hiding this comment.
GitHub reports merge conflicts with main in 12 files, including .github/workflows/docs-site.yml, docs/scripts/prepare-content.mjs, and mkdocs.yml. Please rebase the branch and resolve the conflicts.
zlareb1
left a comment
There was a problem hiding this comment.
The translated indexes link to the current full index. Two findings remain on this head. The prepared Agent setup page still links to the Quickstart fragment dropped by Steps, and a stamped translation with a removed English source still renders without the documented notice. The 20 content-preparation tests pass.
zlareb1
left a comment
There was a problem hiding this comment.
The previous CI run’s lesson lookup limit, memory.for_file analyzer, and ClickHouse 26.11 test storage failures reproduce on that run’s base without the publishing changes. The focused checks pass on the merged fix.
zlareb1
left a comment
There was a problem hiding this comment.
The built Quickstart preserves the linked step IDs, and retained translations of removed pages show a standalone notice. The docs build and all 22 content-preparation tests pass.
|
@Blargian plz fix merge conflict |
zlareb1
left a comment
There was a problem hiding this comment.
GitHub reports merge conflicts with main in llms.txt and tests/unit/test_docs_site_indexnow.py. The branch deletes both files and main modifies them. Please rebase and resolve those deletions against the publishing change.
zlareb1
left a comment
There was a problem hiding this comment.
Keep production URL submission when retiring the legacy publisher. The retained scripts/docs_site/redirect_pages.py:12 also imports _TOKEN from the deleted scripts/docs_site/hooks.py. Remove that orphaned script and its fragment manifest if the redirect publisher is retired.
Signed-off-by: Shaun Struwig <41984034+Blargian@users.noreply.github.com> # Conflicts: # llms.txt
|
Fixed in d483395: merged main and retained the documented removal of the repository |
zlareb1
left a comment
There was a problem hiding this comment.
The conflict is resolved. The first-paint finding remains open. The server-rendered dark page still needs its foreground and background tokens before the theme script runs.
zlareb1
left a comment
There was a problem hiding this comment.
The type gate rejects the streamed SCIP header adapter's dynamic annotation. The same error reproduces on clean main. Repair #1915 uses the model field annotation and keeps the header bounds.
zlareb1
left a comment
There was a problem hiding this comment.
The dashboard Vitest shard fails on the same tooltip assertions on this PR and on clean main. Radix includes the tooltip ID in aria-describedby even when it repeats the button's name. The repair keeps the accessible name and removes the duplicate description. PR job · Clean main job · Merged repair · Passing main job
zlareb1
left a comment
There was a problem hiding this comment.
The first-paint finding remains on this head. The merge from upstream leaves the theme selector unchanged. With JavaScript disabled or blocked, the dark page background renders before the browser sets data-theme, so the light foreground override never applies. Apply the dark tokens by default until light mode is explicitly selected.
Signed-off-by: Shaun Struwig <41984034+Blargian@users.noreply.github.com>
|
Fixed in 6dd141c: documentation dark tokens apply until |
Signed-off-by: Shaun Struwig <41984034+Blargian@users.noreply.github.com>
|
Fixed in 9fc66d6: the docs package runs its Node tests, including the first-paint theme regression, before both site builds and strict validation. |
Signed-off-by: Shaun Struwig <41984034+Blargian@users.noreply.github.com>
|
Fixed in 52031d2: the docs-site workflow now runs |
zlareb1
left a comment
There was a problem hiding this comment.
The dark first-paint fallback is fixed and the docs test job passed. The translation finalizer uses an older Node version than the documentation build supports.
Signed-off-by: Shaun Struwig <41984034+Blargian@users.noreply.github.com>
Signed-off-by: Shaun Struwig <41984034+Blargian@users.noreply.github.com> # Conflicts: # llms.txt
zlareb1
left a comment
There was a problem hiding this comment.
The translation finalizer, docs test job, manifest and lockfile agree on Node 22.23.4. That satisfies the locked Astro engine, and the docs test job passed on this head.
zlareb1
left a comment
There was a problem hiding this comment.
GitHub reports a merge conflict on this head. The branch deletes llms.txt and main modifies it. Please resolve the file conflict so CI can test the combined tree.
# Conflicts: # llms.txt
There was a problem hiding this comment.
Cursor Bugbot has reviewed your changes using high effort and found 1 potential issue.
Reviewed by Cursor Bugbot for commit 3868b16. Configure here.
zlareb1
left a comment
There was a problem hiding this comment.
The current head can miss IndexNow submissions for a translation merge or an adoption-page update. The documentation checks passed.
Signed-off-by: Shaun Struwig <41984034+Blargian@users.noreply.github.com>
zlareb1
left a comment
There was a problem hiding this comment.
The finalizer retries a missed submission while the next batch waits for CI. Both adoption inputs trigger URL submission, and the finalizer allows 20 minutes. All 16 focused tests passed.
llms.txt stays deleted: the site build generates it. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Signed-off-by: Lareb Zafar <lareb.zafar@clickhouse.com>


Changelog category (leave one):
Changelog entry (one or two sentences a user of Loom can read without the diff; the release pull request collects these into the release notes):
Not required.
Why
The documentation site uses a dark first-visit theme and a wider reading column. Published links, package metadata, and publishing automation still point at the retired site. This change moves those references to the current site.
Scope and risk
This changes the documentation theme defaults, public documentation URLs, package metadata, and publishing automation. It removes the retired publisher and repository-level
llms.txtgenerator, removes an unused workflow write permission, and makes translation finalization build the current documentation site. The site generatesllms.txtandllms-full.txt. It does not change server behavior, stored data, authorization, or plugin behavior.It also converts numbered procedure sections in the English source pages to
StepsandStepcomponents. Content preparation promotes only component-bearing pages to MDX,escapes uppercase placeholders that MDX would parse as tags, and keeps step markers white
with a higher-contrast connector. Machine-translated pages remain unchanged. A
misclassified page could fail the MDX build, which the complete docs build covers.
Compatibility, rollout and rollback
Tests
make formatmake lintmake typecheckpython -m pytest tests/unit/test_docs_site_indexnow.py tests/unit/test_published_links.py tests/unit/test_i18n.py tests/unit/test_i18n_lifecycle.py tests/unit/test_i18n_automation.py tests/unit/test_doc_links.py tests/unit/test_public_copy.py -qpython -m pytest tests/unit/test_docs_reference.py tests/unit/test_page_summary.py tests/unit/test_doc_links.py tests/unit/test_public_copy.py tests/unit/test_i18n.py tests/unit/test_docs_site_hooks.py -qLOOM_ENV_FILE= .venv/bin/python -m pytest tests/unit/test_doc_links.py tests/unit/test_public_copy.py -q— 276 passed.node --test docs/scripts/prepare-content.test.mjsnpm --prefix docs run buildAI assistance in the code (leave one; writing this description with AI is fine):
AI-generated (an agent wrote most of the diff): Codex; checked the link replacement, workflow removal, Steps component markup, rendered preview, test changes, and documentation build.
I can explain every line of this diff and how it interacts with the rest of Loom.
Checklist
make test-unitand applicable integration results are reported by CI; a full local run is not required before pushing.docs/reference/configuration.mdand thedocs/reference/tables (python scripts/codegen/docs_reference.py), the reach manifest,schemas/schema.sql(make schema-dump) and the Codex plugin copies (python3 scripts/codegen/agent_plugin_sync.py).main; no merged migration is edited.hooks/,lib/,bin/,skills/,.mcp.json, the Codexplugin-defaults.json) bumps both plugin manifests' version, and no other open PR uses that version.npm --prefix frontend run build) and its tests pass, iffrontend/changed.docs/describe the system as it now is, and this description names any operator steps and wire changes.tests/unit/test_public_copy.py).git commit -s), as CONTRIBUTING.md asks.Note
Low Risk
Changes are limited to documentation build, CI, and public doc URLs; server runtime, auth, and data paths are untouched.
Overview
Moves documentation publishing from the retired MkDocs + GitHub Pages pipeline to the Blume stack in
docs/: CI’sdocs-siteworkflow now runsnpm testindocs/instead ofmkdocs build --strictand drops the Pages build/deploy jobs, while i18n finalize validates merges withnpm --prefix docs run buildinstead of MkDocs.Content prep and rendering gains procedure handling: numbered
## N. …sections become<Steps>/<Step>MDX, pages with components are promoted to.mdx, uppercase placeholders are escaped for MDX, and stale/removed English source notices are injected into translated pages.llms.txtis removed from the repo root anddocs_reference.pyno longer generates it—the site build is documented as the source ofllms.txt/llms-full.txt. Largescripts/docs_site/MkDocs hooks, locale theme overrides, redirect builder, and related tests are deleted; IndexNow and README translation links lean onscripts/i18n/site.py.Docs and contributor guides are updated for Blume URLs, simplified internal links, and
docs/theme.csstweaks (dark tokens, prose measure, step styling). Node engine pin bumps to>=22.23.4.Reviewed by Cursor Bugbot for commit b187c09. Bugbot is set up for automated code reviews on this repo. Configure here.