Skip to content

docs: simplify Release & CI navigation - #120684

Merged
vyctorbrzezowski merged 1 commit into
mainfrom
brzezowski/fix-release-ci-navigation
Aug 8, 2026
Merged

vyctorbrzezowski merged 1 commit into
mainfrom
brzezowski/fix-release-ci-navigation

Conversation

@vyctorbrzezowski

@vyctorbrzezowski vyctorbrzezowski commented Aug 8, 2026 •

Copy link
Copy Markdown
Member

Closes #120672

What Problem This Solves

The Release & CI tab currently wraps all pages in a redundant Release and CI group. That extra layer flattens unrelated pages into one section and produces the index breadcrumb Release & CI / Release and CI / Release notes. Production also serves a stale version-page shell that selects Reference instead of Release & CI.

Why This Change Was Made

This PR uses the navigation shape already used throughout the repository: four direct group entries with pages, with the release index first in Release notes. It preserves all 11 routes and their order, adds the same four groups to the zh-Hans overlay, and leaves the sync implementation unchanged because its existing pages-first path already prefixes and matches every localized route.

The source-only scope intentionally does not claim a clickable group heading or removal of the index child row. The current openclaw/docs renderer renders group headings as text and builds breadcrumbs from the tab, group, and page. Supporting a clickable heading with a two-part index breadcrumb would be separate renderer work.

User Impact

Fresh renders would show four useful Release & CI sections — Release notes, Maturity, Release process, and Testing and CI — on desktop and mobile. Version pages would render under the Release & CI tab with Release & CI / Release notes / v… breadcrumbs. The release index would no longer include the redundant Release and CI level, while retaining the renderer's existing Release notes child row and three-part index breadcrumb.

Evidence

Before — current production (2026-08-08): redundant outer group and breadcrumb

Before — current production shows the redundant Release and CI group and breadcrumb

Validated before merge — prepared head 3c6a890: English desktop index with all four groups and all 11 routes

Validated before merge — English desktop release index with four direct groups

Validated before merge — prepared head 3c6a890: English version page with Release & CI / Release notes / v2026.7.1

Validated before merge — English release version breadcrumb

Validated before merge — prepared head 3c6a890: mobile drawer with the complete four-group sidebar

Validated before merge — mobile Release and CI drawer without clipping

Validated before merge — prepared head 3c6a890: zh-CN index with localized group labels and routes

Validated before merge — localized Chinese Release and CI navigation

The screenshots were generated through the current openclaw/docs renderer from an ephemeral mirror synced from this exact head. Measurements found no horizontal overflow; the complete desktop sidebar fits its 701 px viewport, and the last mobile route ends at 731 px in a 980 px drawer.

Validation:

  • Red proof: the focused test fails against the previous single-group navigation (expected four direct groups, received Release and CI).
  • node scripts/run-vitest.mjs test/scripts/docs-sync-publish.test.ts — 5 tests passed.
  • pnpm check:docs — formatting, Markdown lint, 769 MDX files, glossary, and 6,404 internal links passed; 0 broken links.
  • git diff --check and targeted oxfmt --check passed.
  • Ephemeral renderer builds passed for English (578 pages) and zh-CN (547 pages).

Mintlify CLI validation was not run because the CLI is not installed in the existing workspace; no dependency installation was needed for this docs-only change.

@openclaw-barnacle openclaw-barnacle Bot added docs Improvements or additions to documentation size: XS maintainer Maintainer-authored PR labels Aug 8, 2026
@vyctorbrzezowski
vyctorbrzezowski marked this pull request as ready for review August 8, 2026 20:10
@vyctorbrzezowski vyctorbrzezowski self-assigned this Aug 8, 2026
@vyctorbrzezowski
vyctorbrzezowski merged commit 8afd126 into main Aug 8, 2026
135 checks passed
@vyctorbrzezowski
vyctorbrzezowski deleted the brzezowski/fix-release-ci-navigation branch August 8, 2026 20:23
@vyctorbrzezowski

Copy link
Copy Markdown
Member Author

Merged via squash.

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

Labels

docs Improvements or additions to documentation maintainer Maintainer-authored PR size: XS

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Docs Bug]: simplify Release & CI sidebar hierarchy and breadcrumbs

1 participant