You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Improve isolated build UX and fix git worktree serve (#3210)
* Improve isolated build UX and fix git worktree scoped filesystem
Header: light grey gradient with bottom border and shadow, replacing the
blue background. GitHub link and deployment-info buttons share a muted
grey gradient style with blue hover, using the system monospace font stack.
Logo hover uses a subtle dark tint with consistent vertical padding.
Nav: index page now surfaces as the first nav item using navigation_title
from YAML front matter. Single-item breadcrumbs are hidden (no navigation
value). Breadcrumb vertical padding reduced from py-6 to pt-4/pb-2.
Sidebar: version selector, report-a-docs-issue, and learn-how-to-contribute
are now gated on PrimaryNavEnabled so they don't show in isolated builds.
Bug fixes: root page View-as-Markdown URL was .md, now correctly /index.md.
h1 gains mt-6 top margin. FileSystemFactory.RealGitRootForPath adds the main
repo's .git directory to scope roots when running from a git worktree, fixing
ScopedFileSystemException when serving docs from a worktree checkout.
Co-Authored-By: Claude Sonnet 4.6 (1M context) <noreply@anthropic.com>
* Fix isolated-build nav and breadcrumb scoping
Index item in nav: only render when not hidden, not in assembler/primary-nav
builds. Breadcrumb single-item suppression scoped to isolated builds only;
breadcrumb py-6 padding restored to match production.
Co-Authored-By: Claude Sonnet 4.6 (1M context) <noreply@anthropic.com>
* Fix h1 top spacing without breaking assembler breadcrumb layout
The mt-6 on h1 compounded the breadcrumb's pb-6, pushing h1 24px lower
than production on assembler builds. Remove mt-6 from h1 and instead add
pt-6 to the content wrapper only when no breadcrumb is visible (isolated
builds with a single-crumb or zero-crumb page). This gives isolated landing
pages breathing room while leaving assembler/multi-crumb pages unchanged.
Co-Authored-By: Claude Sonnet 4.6 (1M context) <noreply@anthropic.com>
* Fix Prettier formatting in Header and DeploymentInfo
Co-Authored-By: Claude Sonnet 4.6 (1M context) <noreply@anthropic.com>
* Fix TypeScript compile error: use colors.textInk instead of colors.ink
The EUI theme types don't expose a `colors.ink` property — `colors.textInk`
is the correct token.
Co-Authored-By: Claude Sonnet 4.6 (1M context) <noreply@anthropic.com>
Made-with: Cursor
* Add button type
---------
Co-authored-by: Claude Sonnet 4.6 (1M context) <noreply@anthropic.com>
Co-authored-by: Felipe Cotti <felipe.cotti@elastic.co>
0 commit comments