Internal component gallery page for design review - #1227
Draft
ppiegaze wants to merge 2 commits into
Draft
Conversation
Add a kitchen-sink reference page rendering every typographic element and content component (headings, body type, lists, tables, blockquotes, code blocks, notices, tabs, grids/link-cards, badges, buttons, dropdowns, icons, downloads, layout helpers, variant/key shortcodes) in the live theme, so design can review the full component set in one place. Internal-only and preview-only: - obscure top-level slug, no `top_menu` -> never appears in navigation - `noindex: true` + `hidden: true` -> robots noindex,nofollow + dropped from both sitemaps - `variants: -flyte +union` -> renders in the union build (so it appears in the Cloudflare preview) but never in flyte - NOT intended to merge to production; share via the PR preview URL only Verified with a full `union` production build (run_hugo.sh, --panicOnWarning): 1583 pages, no warnings; page emits noindex meta and is absent from sitemap.xml and the global nav. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
pre-build-checks.sh FATALs on any https://union.ai/docs URL in content (runs in make dist / CI, not in run_hugo.sh). Swap the three example links to the marketing homepage so the production build passes. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
GHA build & deploy previewBuilt by
Updated automatically on every push. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
🔗 Preview for design review
https://pr-1227-docsy-v2-component-s.docs-dog.pages.dev/docs/v2/union/component-gallery-7fa3c1/
What
An internal component gallery — a kitchen-sink page rendering every typographic element and content component the docs site offers, in the live theme, so design can review the full set in one place. Each component shows its source markup next to the live render.
Covers: headings h1–h6, body type / inline elements, ordered & unordered (nested) lists, tables, blockquotes, horizontal rules, fenced code blocks, the
codeshortcode (whole-file + fragment/highlight), native alert notices ([!NOTE]/[!WARNING]/[!CAUTION]) and thenote/warningshortcodes, tabs, grids + link-cards, badges (all variants), button-links, dropdowns, icons, download links, layout helpers (right,multiline), variant-conditional content, and product-name keys.This page is not intended to land in production. It exists so the preview above can be shared with the designer.
top_menu→ never appears in navigation (unlinked).noindex: true+hidden: true→robots: noindex,nofollowand dropped from both sitemaps.variants: -flyte +union→ renders in theunionbuild (so it shows in the preview) but never inflyte.Verification
Full
unionproduction build (run_hugo.sh,--panicOnWarning): 1583 pages, no warnings.pre-build-checks.sh: exit 0. Deployed page confirmed HTTP 200 withnoindex,nofollowmeta, absent fromsitemap.xml, and unlinked from the global nav.🤖 Generated with Claude Code