Skip to content

docs: enable build-time SSR for docs site#75

Merged
uhyo merged 1 commit intomasterfrom
docs/enable-ssr
Feb 7, 2026
Merged

docs: enable build-time SSR for docs site#75
uhyo merged 1 commit intomasterfrom
docs/enable-ssr

Conversation

@uhyo
Copy link
Owner

@uhyo uhyo commented Feb 7, 2026

Summary

  • Enable ssr: true in the @funstack/static plugin config so the docs app shell (header, navigation, footer) is pre-rendered to HTML at build time
  • Hide the footer during SSR to prevent it from flickering in the initial viewport before page content loads and pushes it below the fold

Test plan

  • pnpm build succeeds without errors
  • packages/docs/dist/public/index.html contains pre-rendered header/nav but no footer
  • pnpm --filter funstack-router-docs preview — site loads, navigation works, footer appears after hydration

🤖 Generated with Claude Code

Enable SSR in the @funstack/static plugin config so the docs site
app shell (header, nav, main) is pre-rendered to HTML at build time.
Hide the footer during SSR to prevent it from flickering in the
initial viewport before content loads and pushes it below the fold.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@uhyo uhyo merged commit 6bc6680 into master Feb 7, 2026
1 check passed
@uhyo uhyo deleted the docs/enable-ssr branch February 7, 2026 03:32
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