Skip to content

Tree docs#316

Draft
mdo wants to merge 4 commits intomainfrom
mdo/treedocs
Draft

Tree docs#316
mdo wants to merge 4 commits intomainfrom
mdo/treedocs

Conversation

@mdo
Copy link
Contributor

@mdo mdo commented Feb 6, 2026

  • Introduce ProductConfig system to support multiple products (diffs, trees) from a single docs site
  • Parameterize Hero, Header, and Footer components by product—dynamically render tagline, description, install command, icons, and nav links
  • Add getProductFromPathname() to resolve product context from URL
  • Scaffold /trees landing page with placeholder for examples
  • Scaffold /trees/docs with Overview section—installation (bun/npm/pnpm/yarn) and basic usage examples
  • Footer converted to client component for pathname access
  • Header conditionally hides Theme link for products without it

@vercel
Copy link

vercel bot commented Feb 6, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
pierrejs-diff-demo Ready Ready Preview Feb 7, 2026 0:54am
pierrejs-docs Ready Ready Preview Feb 7, 2026 0:54am

Request Review

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant