Repository navigation
Loom Docs has a dedicated header and reading tools - #1693
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
d9a114a to
63559e0
Compare
Readers can move between docs and product pages through the same navigation. The docs toolbar keeps section links, search, and language selection available while reading. Signed-off-by: Lareb Zafar <lareb.zafar@clickhouse.com>
Readers can search from the landing page or open a task directly. Articles provide Markdown and PDF through the outline, and the header keeps a link back to the product. Signed-off-by: Lareb Zafar <lareb.zafar@clickhouse.com>
Render the landing search with Click UI and place the Markdown link by the breadcrumb so articles without section headings can show it. Signed-off-by: Lareb Zafar <lareb.zafar@clickhouse.com>
Apply index layout only to Docs index routes so the Spanish overview keeps its navigation and page actions. Keep Markdown available when an article has no breadcrumb trail. Signed-off-by: Lareb Zafar <lareb.zafar@clickhouse.com>
c9f67bb to
12519b6
Compare
There was a problem hiding this comment.
Cursor Bugbot has reviewed your changes using high effort and found 1 potential issue.
❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, have a team admin enable autofix in the Cursor dashboard.
Reviewed by Cursor Bugbot for commit 12519b6. Configure here.
|
|
||
| export function isDocumentationIndex(pathname: string, locale: SiteLocale) { | ||
| return pathname === "/docs" || (locale !== "en" && pathname === `/docs/${locale}`); | ||
| } |
There was a problem hiding this comment.
Landing check misses overview fallback
Medium Severity
isDocumentationIndex only treats /docs and /docs/{locale} as landings, but documentationOverview and prepareLandingSearch fall back to getting-started/overview when a locale has no index.md. Spanish docs inject landing search into the overview article without data-docs-index, so landing layout and Markdown-link hiding never apply.
Additional Locations (2)
Reviewed by Cursor Bugbot for commit 12519b6. Configure here.


Related: #1666
Changelog category
Changelog entry
Loom Docs has a dedicated header, searchable landing page, and direct Markdown and PDF actions for guides.
Why
Readers need a clear place to find setup, guides, and reference material. The documentation keeps the Loom brand and gives its own navigation and page tools space.
Scope and risk
The docs header uses the Loom Docs wordmark, existing section and language controls, and a product link. Documentation landings offer localized Click UI search and task links. Guides have a direct Markdown link beside the breadcrumb, a reading outline, and PDF export. The Quickstart describes its outcome and prerequisites before the install.
Compatibility, rollout and rollback
Tests
make format-check lint typecheckAI assistance in the code
AI-generated (Codex). Checked published link targets, keyboard focus, locales, article exports, and the rendered page hierarchy.
I can explain every line of this diff and how it interacts with the rest of Loom.
Checklist
Note
Low Risk
Docs-site UI, content prep, and copy only; no server APIs, auth, or data paths change.
Overview
Refreshes Loom Docs with a dedicated header experience, a searchable documentation landing, and reader utilities on guide pages.
The header now uses a single Loom · Docs wordmark (replacing the split product/docs nav), a wider search control with a link back to the main product site, and responsive rules that hide top nav on smaller viewports. Landing pages get a centered hero layout (via
data-docs-index), an in-content DocsLandingSearch button wired to the global search dialog, and four-column card grids on wide screens. Content prep converts doc landings to MDX and injects the search component for all locales.Non-index guides gain a localized View as Markdown link beside the breadcrumb; breadcrumbs are suppressed on the docs home. PDF export is enabled in Blume config. Copy and layout tweaks cover the docs index, Quickstart intro, footer typography, mobile outline scrolling, and
llms.txt.Reviewed by Cursor Bugbot for commit 12519b6. Bugbot is set up for automated code reviews on this repo. Configure here.