Skip to content

Loom Docs has a dedicated header and reading tools - #1693

Merged
zlareb1 merged 4 commits into
mainfrom
fix/docs-landing-header
Nov 28, 2026
Merged

zlareb1 merged 4 commits into
mainfrom
fix/docs-landing-header

Conversation

@zlareb1

@zlareb1 zlareb1 commented Nov 28, 2026 •

Copy link
Copy Markdown
Member

Related: #1666

Changelog category

  • Improvement

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

  • Wire changes. None.
  • Operator steps. None.
  • Rollback. Revert the change.

Tests

  • make format-check lint typecheck
  • Focused documentation and public copy tests.
  • Built, validated, and checked the docs site. Checked landing navigation and search in all six languages, short-page Markdown links, guide actions, sticky anchors, and mobile layout in Chrome.

AI 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

  • Local format, lint, type checks and focused tests pass.
  • Docs describe the system as it is now.
  • Commits are signed off.

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.

@vercel

vercel Bot commented Nov 28, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
loom-docs Ready Ready Preview Nov 28, 2026 9:07am UTC
loom-telemetry Ready Ready Preview Nov 28, 2026 9:07am UTC

Request Review

@zlareb1
zlareb1 force-pushed the fix/docs-landing-header branch from d9a114a to 63559e0 Compare November 28, 2026 08:36
@zlareb1 zlareb1 changed the title Docs uses the shared Loom site header Loom Docs has a dedicated header and reading tools Nov 28, 2026

@cursor cursor Bot left a comment •

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Stale Bugbot comment from a previous run.

Comment thread docs/components/DocsSearch.astro Resolved
Comment thread docs/components/DocsOutline.astro Resolved
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>
@zlareb1
zlareb1 force-pushed the fix/docs-landing-header branch from c9f67bb to 12519b6 Compare November 28, 2026 09:05
@zlareb1
zlareb1 merged commit 0355b17 into main Nov 28, 2026
73 checks passed

@cursor cursor Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cursor Bugbot has reviewed your changes using high effort and found 1 potential issue.

Fix All in Cursor

❌ 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}`);
}

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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)
Fix in Cursor Fix in Web

Reviewed by Cursor Bugbot for commit 12519b6. Configure here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant