Repository navigation
docs: 3.0 is the stable docs (fixes noindex and "beta"), no false "Soon" marks, demo headings out of the outline - #559
Conversation
Main now builds 3.0, but the version list still called it "3.0 beta", reading npm `next`, with status "beta", and the layout marks a non-stable version noindex: docs.once-ui.com went out with robots noindex. 3.0 is now the stable entry at the root on `latest`; 2.x is listed as legacy, not pickable until a 2.x build has an origin of its own. useHeadingLinks skips headings inside any [data-exclude-nav] ancestor, and CodeBlock marks its preview with it, so a demo's own headings (the page sections' "Why people choose Fjell") no longer fill the page outline. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01YJHdG7ZbpQS64MtL5PVbT1
|
Visual check: the one change is Generated by Claude Code |
|
Correction to my earlier comment: the ScrollToTop change reproduced on the re-run, so it does come from this PR, and it's intended. With 3.0 marked stable, the "beta" version notice no longer renders above the page. The page is now shorter, so the ScrollToTop demo is captured at a scroll position under its Generated by Claude Code |
The availability check read only @once-ui-system/core, so every effect (now in fx) and StylePanel, MascotPanel, Banner and friends (now in blocks) showed "Soon". Web pages now check core, fx and blocks together. The 3.0 pages that point readers from a merged or internal 2.x name to its 3.0 home (Modal, Badge, Pulse, ...) are guides, so they say `export: false`. The home badge read "Measured, not assumed", a 2.x release line; it now says "What's new in 3.0" next to the version. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01YJHdG7ZbpQS64MtL5PVbT1
Before: main builds the 3.0 docs, but the live site still behaved like a beta.
robots: noindex.After:
latest. The site is indexable, and the beta notice and beta label are gone.How:
versions.data.js: 3.0 becomesstable(path"", branchmain,latest). 2.x becomeslegacyand unpublished, so it's listed but can't be picked until a 2.x build has its own origin.published.tschecks web pages against core, fx and blocks together. Effects live in fx, and StylePanel, Banner and the sections live in blocks.export: false, so they read as guides.useHeadingLinksskips headings that have a[data-exclude-nav]ancestor, and CodeBlock marks its preview with that attribute.Checks:
latest: 0 pages marked unreleased, down from 50 on the live site.🤖 Generated with Claude Code
https://claude.ai/code/session_01YJHdG7ZbpQS64MtL5PVbT1