diff --git a/apps/docs/README.md b/apps/docs/README.md index e17f253..ffb76ef 100644 --- a/apps/docs/README.md +++ b/apps/docs/README.md @@ -75,7 +75,7 @@ The canonical deployment is a Next.js application on Cloudflare Workers through 1. authenticate the Cloudflare account with `pnpm --filter @planr/docs exec alchemy login --configure`; Alchemy stores local OAuth credentials in its profile, not in `.env`; 2. use `.env.example` only when overriding the public canonical origin for a local build; 3. validate locally with `pnpm docs:build` and optionally `pnpm docs:alchemy:dev`; -4. deploy production with `pnpm docs:deploy` from the repository root; the package script pins `--stage prod` explicitly; +4. deploy production with `pnpm docs:deploy` from the repository root; the package script pins `--stage prod`, accepts the non-interactive Alchemy plan, and populates the read-only OpenNext SSG cache; 5. verify the emitted URL and `https://planr.so` with the release-live and browser gates. `apps/docs/alchemy.run.ts` is the infrastructure source of truth. It uses the Alchemy v2 Effect stack and Cloudflare remote state. `Cloudflare.Website.StaticSite` runs OpenNext, passes the result through Wrangler's local dry-run bundler, and deploys `.alchemy-worker/worker.js` with `bundle: false`. It adopts the named Worker when it already exists and binds `planr.so` only for `prod`. `NEXT_PUBLIC_SITE_URL` is set to the canonical production origin during that build. diff --git a/apps/docs/app/docs/layout.tsx b/apps/docs/app/docs/layout.tsx index 2d10ba6..49f8472 100644 --- a/apps/docs/app/docs/layout.tsx +++ b/apps/docs/app/docs/layout.tsx @@ -5,7 +5,7 @@ import { source } from '@/lib/source'; export default function DocumentationLayout({ children }: { children: ReactNode }) { return ( - + {children} ); diff --git a/apps/docs/app/layout.tsx b/apps/docs/app/layout.tsx index 1334728..9650d16 100644 --- a/apps/docs/app/layout.tsx +++ b/apps/docs/app/layout.tsx @@ -1,6 +1,7 @@ import type { Metadata } from 'next'; import type { ReactNode } from 'react'; import { RootProvider } from 'fumadocs-ui/provider/next'; +import { NoPrefetchLink } from '@/components/no-prefetch-link'; import './global.css'; export const metadata: Metadata = { @@ -32,7 +33,7 @@ export default function RootLayout({ children }: { children: ReactNode }) { return ( - {children} + {children} ); diff --git a/apps/docs/app/page.tsx b/apps/docs/app/page.tsx index 6ae4210..672c22c 100644 --- a/apps/docs/app/page.tsx +++ b/apps/docs/app/page.tsx @@ -34,11 +34,11 @@ export default function HomePage() { MCP clients, and humans can share without losing ownership or evidence.

- + Install Planr
@@ -71,21 +71,21 @@ export default function HomePage() { Planr gives every client the same durable plan, task graph, and evidence trail.
- + Codex logo CodexPlugin, MCP, hooks, and roles