site: adopt the shared Powderworks docs plumbing - #31
Open
zmaril wants to merge 2 commits into
Open
Conversation
straitjacket.dev was the only fleet site not wearing the family clothes. It now installs @thepowderworks/fumadocs directly from github:PowderworksCode/docs and uses its config, i18n wiring, provider, MDX components, search dialog, nav builder, and theme. - src/lib/site.ts declares the site to definePowderworksSite; nav title, mark, and GitHub link come from the package. - Provider, search dialog, and MDX components are the package's; straitjacket keeps only thin local wrappers. - global.css imports the shared theme after the fumadocs preset, so pages render in the powderworks paper-and-ink palette with the project accent extension points available. - trustedDependencies runs the package prepare script so a git install produces dist/. Dark-only rendering stays as it was; flipping to system preference is one prop on PowderworksProvider when wanted.
Deploying with
|
| Status | Name | Latest Commit | Preview URL | Updated (UTC) |
|---|---|---|---|---|
| ✅ Deployment successful! View logs |
straitjacket | c8562e1 | Commit Preview URL Branch Preview URL |
Aug 22 2026, 02:21 PM |
The powderworks theme's warm paper and flame orange read as a well- known AI-lab aesthetic, which is not this site. The theme import is gone, so pages render in fumadocs neutral exactly as before the adoption; only two small nav-title rules stay local to style the package's markup classes. What remains from the shared package is everything invisible: site config, i18n wiring, provider, search dialog, MDX components, and the nav builder.
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.
site: adopt the shared Powderworks reading systemUpdate after visual review: the fleet theme's paper-and-flame palette reads as a certain AI lab's website, so the theme import is dropped — straitjacket.dev keeps its previous neutral dark look, with two small local rules styling the package's nav markup.
What this PR now ships is the invisible half of the shared foundation:
@thepowerworks/fumadocsfromgithub:PowderworksCode/docs(docs repo flattened to a single-package root for git installs;trustedDependenciesruns itsprepare)src/lib/site.tsdeclares the site viadefinePowderworksSite; nav mark/title/GitHub URL come from the packageTry it
Build clean, 57/57 tests, self-scan clean.
🤖 Generated with Claude Code