feat: consume @vantagecompute/docusaurus-theme and upgrade all deps#38
Open
jamesbeedy wants to merge 2 commits into
Open
feat: consume @vantagecompute/docusaurus-theme and upgrade all deps#38jamesbeedy wants to merge 2 commits into
jamesbeedy wants to merge 2 commits into
Conversation
Extract the Vantage design system, brand assets, and shared theme swizzles into a reusable Docusaurus theme package that all vantagecompute docs projects can consume via npm. Includes: - Design system CSS (tokens, typography, dark/light themes, component styles) - Brand assets (Satoshi fonts, SVG icons, logo, favicon) - Theme overrides (ColorModeToggle, DocBreadcrumbs, Tabs bugfix, MDXComponents) - rehypeTabsTransform utility - README with installation/usage/customization docs - MIGRATION.md with step-by-step guide for vantage-docs adoption The package is scaffolded under packages/vantage-docusaurus-theme and designed to be moved to its own repo (vantagecompute/vantage-docusaurus-theme) and published to npm as @vantagecompute/docusaurus-theme. Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
- Add @vantagecompute/docusaurus-theme@^0.2.2 as shared theme package - Upgrade all deps to latest: React 19, TypeScript 7, Docusaurus 3.10 - Replace 1,858-line custom.css with ~42-line project-specific overrides - Remove shared theme swizzles (ColorModeToggle, DocBreadcrumbs, Tabs, MDXComponents, SecondaryMenu) — now provided by theme package - Remove shared static assets (fonts, icons, logo, favicon, error-suppression) - Remove packages/ scaffold directory (code now in its own repo) - Update all components for React 19 (named imports, no React namespace) - Fix pre-existing broken sidebar/redirect for cli/architecture doc Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
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.
Summary
Migrates
vantage-docsto consume the shared@vantagecompute/docusaurus-themepackage and upgrades all dependencies to latest versions.Changes
Shared theme integration
@vantagecompute/docusaurus-theme@^0.2.2as the shared theme packagedocusaurus.config.jsto register the theme, static directories, and rehype transformcustom.csswith ~42 lines of project-specific overridesRemoved shared assets (now in theme package)
rehypeTabsTransform.js(now imported from theme package)packages/vantage-docusaurus-theme/(code lives in its own repo)Dependency upgrades
React 19 migration
import React from 'react'(JSX transform handles it)React.JSX.Element/React.ReactNodewith named importsReact.FormEventwith namedFormEventimportPre-existing fixes
cli/architecture(doc doesn't exist)Build verification
✅
yarn buildsucceeds — all pages generated