diff --git a/templates/aurora/.env.example b/archive/templates/aurora/.env.example similarity index 100% rename from templates/aurora/.env.example rename to archive/templates/aurora/.env.example diff --git a/templates/aurora/.gitignore b/archive/templates/aurora/.gitignore similarity index 100% rename from templates/aurora/.gitignore rename to archive/templates/aurora/.gitignore diff --git a/templates/aurora/README.md b/archive/templates/aurora/README.md similarity index 100% rename from templates/aurora/README.md rename to archive/templates/aurora/README.md diff --git a/templates/aurora/app/[[...slug]]/page.tsx b/archive/templates/aurora/app/[[...slug]]/page.tsx similarity index 100% rename from templates/aurora/app/[[...slug]]/page.tsx rename to archive/templates/aurora/app/[[...slug]]/page.tsx diff --git a/templates/aurora/app/api-reference/[[...slug]]/page.tsx b/archive/templates/aurora/app/api-reference/[[...slug]]/page.tsx similarity index 100% rename from templates/aurora/app/api-reference/[[...slug]]/page.tsx rename to archive/templates/aurora/app/api-reference/[[...slug]]/page.tsx diff --git a/templates/aurora/app/api/ask/route.ts b/archive/templates/aurora/app/api/ask/route.ts similarity index 100% rename from templates/aurora/app/api/ask/route.ts rename to archive/templates/aurora/app/api/ask/route.ts diff --git a/templates/aurora/app/blog/[slug]/page.tsx b/archive/templates/aurora/app/blog/[slug]/page.tsx similarity index 100% rename from templates/aurora/app/blog/[slug]/page.tsx rename to archive/templates/aurora/app/blog/[slug]/page.tsx diff --git a/templates/aurora/app/blog/page.tsx b/archive/templates/aurora/app/blog/page.tsx similarity index 100% rename from templates/aurora/app/blog/page.tsx rename to archive/templates/aurora/app/blog/page.tsx diff --git a/templates/aurora/app/changelog/page.tsx b/archive/templates/aurora/app/changelog/page.tsx similarity index 100% rename from templates/aurora/app/changelog/page.tsx rename to archive/templates/aurora/app/changelog/page.tsx diff --git a/templates/aurora/app/layout.tsx b/archive/templates/aurora/app/layout.tsx similarity index 100% rename from templates/aurora/app/layout.tsx rename to archive/templates/aurora/app/layout.tsx diff --git a/templates/aurora/app/theme.css b/archive/templates/aurora/app/theme.css similarity index 100% rename from templates/aurora/app/theme.css rename to archive/templates/aurora/app/theme.css diff --git a/templates/aurora/components/top-bar.tsx b/archive/templates/aurora/components/top-bar.tsx similarity index 100% rename from templates/aurora/components/top-bar.tsx rename to archive/templates/aurora/components/top-bar.tsx diff --git a/templates/aurora/content/docs/development.mdx b/archive/templates/aurora/content/docs/development.mdx similarity index 100% rename from templates/aurora/content/docs/development.mdx rename to archive/templates/aurora/content/docs/development.mdx diff --git a/templates/aurora/content/docs/docs.json b/archive/templates/aurora/content/docs/docs.json similarity index 100% rename from templates/aurora/content/docs/docs.json rename to archive/templates/aurora/content/docs/docs.json diff --git a/templates/aurora/content/docs/essentials/code-blocks.mdx b/archive/templates/aurora/content/docs/essentials/code-blocks.mdx similarity index 100% rename from templates/aurora/content/docs/essentials/code-blocks.mdx rename to archive/templates/aurora/content/docs/essentials/code-blocks.mdx diff --git a/templates/aurora/content/docs/essentials/components.mdx b/archive/templates/aurora/content/docs/essentials/components.mdx similarity index 100% rename from templates/aurora/content/docs/essentials/components.mdx rename to archive/templates/aurora/content/docs/essentials/components.mdx diff --git a/templates/aurora/content/docs/essentials/images.mdx b/archive/templates/aurora/content/docs/essentials/images.mdx similarity index 100% rename from templates/aurora/content/docs/essentials/images.mdx rename to archive/templates/aurora/content/docs/essentials/images.mdx diff --git a/templates/aurora/content/docs/essentials/markdown.mdx b/archive/templates/aurora/content/docs/essentials/markdown.mdx similarity index 100% rename from templates/aurora/content/docs/essentials/markdown.mdx rename to archive/templates/aurora/content/docs/essentials/markdown.mdx diff --git a/templates/aurora/content/docs/essentials/navigation.mdx b/archive/templates/aurora/content/docs/essentials/navigation.mdx similarity index 100% rename from templates/aurora/content/docs/essentials/navigation.mdx rename to archive/templates/aurora/content/docs/essentials/navigation.mdx diff --git a/templates/aurora/content/docs/index.mdx b/archive/templates/aurora/content/docs/index.mdx similarity index 100% rename from templates/aurora/content/docs/index.mdx rename to archive/templates/aurora/content/docs/index.mdx diff --git a/templates/aurora/content/docs/openapi.json b/archive/templates/aurora/content/docs/openapi.json similarity index 100% rename from templates/aurora/content/docs/openapi.json rename to archive/templates/aurora/content/docs/openapi.json diff --git a/templates/aurora/content/docs/quickstart.mdx b/archive/templates/aurora/content/docs/quickstart.mdx similarity index 100% rename from templates/aurora/content/docs/quickstart.mdx rename to archive/templates/aurora/content/docs/quickstart.mdx diff --git a/templates/aurora/content/docs/slug-history.json b/archive/templates/aurora/content/docs/slug-history.json similarity index 100% rename from templates/aurora/content/docs/slug-history.json rename to archive/templates/aurora/content/docs/slug-history.json diff --git a/templates/aurora/lib/icons.tsx b/archive/templates/aurora/lib/icons.tsx similarity index 100% rename from templates/aurora/lib/icons.tsx rename to archive/templates/aurora/lib/icons.tsx diff --git a/templates/aurora/lib/route.tsx b/archive/templates/aurora/lib/route.tsx similarity index 100% rename from templates/aurora/lib/route.tsx rename to archive/templates/aurora/lib/route.tsx diff --git a/templates/aurora/mdx-components.tsx b/archive/templates/aurora/mdx-components.tsx similarity index 100% rename from templates/aurora/mdx-components.tsx rename to archive/templates/aurora/mdx-components.tsx diff --git a/templates/aurora/next-env.d.ts b/archive/templates/aurora/next-env.d.ts similarity index 100% rename from templates/aurora/next-env.d.ts rename to archive/templates/aurora/next-env.d.ts diff --git a/templates/aurora/next.config.ts b/archive/templates/aurora/next.config.ts similarity index 100% rename from templates/aurora/next.config.ts rename to archive/templates/aurora/next.config.ts diff --git a/templates/aurora/package.json b/archive/templates/aurora/package.json similarity index 100% rename from templates/aurora/package.json rename to archive/templates/aurora/package.json diff --git a/templates/aurora/proxy.ts b/archive/templates/aurora/proxy.ts similarity index 100% rename from templates/aurora/proxy.ts rename to archive/templates/aurora/proxy.ts diff --git a/templates/aurora/public/favicon.svg b/archive/templates/aurora/public/favicon.svg similarity index 100% rename from templates/aurora/public/favicon.svg rename to archive/templates/aurora/public/favicon.svg diff --git a/templates/aurora/public/hero.svg b/archive/templates/aurora/public/hero.svg similarity index 100% rename from templates/aurora/public/hero.svg rename to archive/templates/aurora/public/hero.svg diff --git a/templates/aurora/public/logo.svg b/archive/templates/aurora/public/logo.svg similarity index 100% rename from templates/aurora/public/logo.svg rename to archive/templates/aurora/public/logo.svg diff --git a/templates/aurora/tsconfig.json b/archive/templates/aurora/tsconfig.json similarity index 100% rename from templates/aurora/tsconfig.json rename to archive/templates/aurora/tsconfig.json diff --git a/templates/aurora/widgets/Counter.tsx b/archive/templates/aurora/widgets/Counter.tsx similarity index 100% rename from templates/aurora/widgets/Counter.tsx rename to archive/templates/aurora/widgets/Counter.tsx diff --git a/templates/aurora/widgets/index.ts b/archive/templates/aurora/widgets/index.ts similarity index 100% rename from templates/aurora/widgets/index.ts rename to archive/templates/aurora/widgets/index.ts diff --git a/templates/base/.env.example b/archive/templates/base/.env.example similarity index 100% rename from templates/base/.env.example rename to archive/templates/base/.env.example diff --git a/templates/base/.gitignore b/archive/templates/base/.gitignore similarity index 100% rename from templates/base/.gitignore rename to archive/templates/base/.gitignore diff --git a/templates/base/README.md b/archive/templates/base/README.md similarity index 100% rename from templates/base/README.md rename to archive/templates/base/README.md diff --git a/templates/base/app/[[...slug]]/page.tsx b/archive/templates/base/app/[[...slug]]/page.tsx similarity index 100% rename from templates/base/app/[[...slug]]/page.tsx rename to archive/templates/base/app/[[...slug]]/page.tsx diff --git a/templates/base/app/api-reference/[[...slug]]/page.tsx b/archive/templates/base/app/api-reference/[[...slug]]/page.tsx similarity index 100% rename from templates/base/app/api-reference/[[...slug]]/page.tsx rename to archive/templates/base/app/api-reference/[[...slug]]/page.tsx diff --git a/templates/base/app/api/ask/route.ts b/archive/templates/base/app/api/ask/route.ts similarity index 100% rename from templates/base/app/api/ask/route.ts rename to archive/templates/base/app/api/ask/route.ts diff --git a/templates/base/app/blog/[slug]/page.tsx b/archive/templates/base/app/blog/[slug]/page.tsx similarity index 100% rename from templates/base/app/blog/[slug]/page.tsx rename to archive/templates/base/app/blog/[slug]/page.tsx diff --git a/templates/base/app/blog/page.tsx b/archive/templates/base/app/blog/page.tsx similarity index 100% rename from templates/base/app/blog/page.tsx rename to archive/templates/base/app/blog/page.tsx diff --git a/templates/base/app/changelog/page.tsx b/archive/templates/base/app/changelog/page.tsx similarity index 100% rename from templates/base/app/changelog/page.tsx rename to archive/templates/base/app/changelog/page.tsx diff --git a/templates/base/app/layout.tsx b/archive/templates/base/app/layout.tsx similarity index 100% rename from templates/base/app/layout.tsx rename to archive/templates/base/app/layout.tsx diff --git a/templates/base/app/theme.css b/archive/templates/base/app/theme.css similarity index 100% rename from templates/base/app/theme.css rename to archive/templates/base/app/theme.css diff --git a/templates/base/components/top-bar.tsx b/archive/templates/base/components/top-bar.tsx similarity index 100% rename from templates/base/components/top-bar.tsx rename to archive/templates/base/components/top-bar.tsx diff --git a/templates/base/content/docs/development.mdx b/archive/templates/base/content/docs/development.mdx similarity index 100% rename from templates/base/content/docs/development.mdx rename to archive/templates/base/content/docs/development.mdx diff --git a/templates/base/content/docs/docs.json b/archive/templates/base/content/docs/docs.json similarity index 100% rename from templates/base/content/docs/docs.json rename to archive/templates/base/content/docs/docs.json diff --git a/templates/base/content/docs/essentials/code-blocks.mdx b/archive/templates/base/content/docs/essentials/code-blocks.mdx similarity index 100% rename from templates/base/content/docs/essentials/code-blocks.mdx rename to archive/templates/base/content/docs/essentials/code-blocks.mdx diff --git a/templates/base/content/docs/essentials/components.mdx b/archive/templates/base/content/docs/essentials/components.mdx similarity index 100% rename from templates/base/content/docs/essentials/components.mdx rename to archive/templates/base/content/docs/essentials/components.mdx diff --git a/templates/base/content/docs/essentials/images.mdx b/archive/templates/base/content/docs/essentials/images.mdx similarity index 100% rename from templates/base/content/docs/essentials/images.mdx rename to archive/templates/base/content/docs/essentials/images.mdx diff --git a/templates/base/content/docs/essentials/markdown.mdx b/archive/templates/base/content/docs/essentials/markdown.mdx similarity index 100% rename from templates/base/content/docs/essentials/markdown.mdx rename to archive/templates/base/content/docs/essentials/markdown.mdx diff --git a/templates/base/content/docs/essentials/navigation.mdx b/archive/templates/base/content/docs/essentials/navigation.mdx similarity index 100% rename from templates/base/content/docs/essentials/navigation.mdx rename to archive/templates/base/content/docs/essentials/navigation.mdx diff --git a/templates/base/content/docs/index.mdx b/archive/templates/base/content/docs/index.mdx similarity index 100% rename from templates/base/content/docs/index.mdx rename to archive/templates/base/content/docs/index.mdx diff --git a/templates/base/content/docs/openapi.json b/archive/templates/base/content/docs/openapi.json similarity index 100% rename from templates/base/content/docs/openapi.json rename to archive/templates/base/content/docs/openapi.json diff --git a/templates/base/content/docs/quickstart.mdx b/archive/templates/base/content/docs/quickstart.mdx similarity index 100% rename from templates/base/content/docs/quickstart.mdx rename to archive/templates/base/content/docs/quickstart.mdx diff --git a/templates/base/content/docs/slug-history.json b/archive/templates/base/content/docs/slug-history.json similarity index 100% rename from templates/base/content/docs/slug-history.json rename to archive/templates/base/content/docs/slug-history.json diff --git a/templates/base/lib/icons.tsx b/archive/templates/base/lib/icons.tsx similarity index 100% rename from templates/base/lib/icons.tsx rename to archive/templates/base/lib/icons.tsx diff --git a/templates/base/lib/route.tsx b/archive/templates/base/lib/route.tsx similarity index 100% rename from templates/base/lib/route.tsx rename to archive/templates/base/lib/route.tsx diff --git a/templates/base/mdx-components.tsx b/archive/templates/base/mdx-components.tsx similarity index 100% rename from templates/base/mdx-components.tsx rename to archive/templates/base/mdx-components.tsx diff --git a/templates/base/next-env.d.ts b/archive/templates/base/next-env.d.ts similarity index 100% rename from templates/base/next-env.d.ts rename to archive/templates/base/next-env.d.ts diff --git a/templates/base/next.config.ts b/archive/templates/base/next.config.ts similarity index 100% rename from templates/base/next.config.ts rename to archive/templates/base/next.config.ts diff --git a/templates/base/package.json b/archive/templates/base/package.json similarity index 100% rename from templates/base/package.json rename to archive/templates/base/package.json diff --git a/templates/base/proxy.ts b/archive/templates/base/proxy.ts similarity index 100% rename from templates/base/proxy.ts rename to archive/templates/base/proxy.ts diff --git a/templates/base/public/favicon.svg b/archive/templates/base/public/favicon.svg similarity index 100% rename from templates/base/public/favicon.svg rename to archive/templates/base/public/favicon.svg diff --git a/templates/base/public/hero.svg b/archive/templates/base/public/hero.svg similarity index 100% rename from templates/base/public/hero.svg rename to archive/templates/base/public/hero.svg diff --git a/templates/base/public/logo.svg b/archive/templates/base/public/logo.svg similarity index 100% rename from templates/base/public/logo.svg rename to archive/templates/base/public/logo.svg diff --git a/templates/base/tsconfig.json b/archive/templates/base/tsconfig.json similarity index 100% rename from templates/base/tsconfig.json rename to archive/templates/base/tsconfig.json diff --git a/templates/base/widgets/index.ts b/archive/templates/base/widgets/index.ts similarity index 100% rename from templates/base/widgets/index.ts rename to archive/templates/base/widgets/index.ts diff --git a/templates/cedar/.env.example b/archive/templates/cedar/.env.example similarity index 100% rename from templates/cedar/.env.example rename to archive/templates/cedar/.env.example diff --git a/templates/cedar/.gitignore b/archive/templates/cedar/.gitignore similarity index 100% rename from templates/cedar/.gitignore rename to archive/templates/cedar/.gitignore diff --git a/templates/cedar/README.md b/archive/templates/cedar/README.md similarity index 100% rename from templates/cedar/README.md rename to archive/templates/cedar/README.md diff --git a/templates/cedar/app/[[...slug]]/page.tsx b/archive/templates/cedar/app/[[...slug]]/page.tsx similarity index 100% rename from templates/cedar/app/[[...slug]]/page.tsx rename to archive/templates/cedar/app/[[...slug]]/page.tsx diff --git a/templates/cedar/app/api-reference/[[...slug]]/page.tsx b/archive/templates/cedar/app/api-reference/[[...slug]]/page.tsx similarity index 100% rename from templates/cedar/app/api-reference/[[...slug]]/page.tsx rename to archive/templates/cedar/app/api-reference/[[...slug]]/page.tsx diff --git a/templates/cedar/app/api/ask/route.ts b/archive/templates/cedar/app/api/ask/route.ts similarity index 100% rename from templates/cedar/app/api/ask/route.ts rename to archive/templates/cedar/app/api/ask/route.ts diff --git a/templates/cedar/app/blog/[slug]/page.tsx b/archive/templates/cedar/app/blog/[slug]/page.tsx similarity index 100% rename from templates/cedar/app/blog/[slug]/page.tsx rename to archive/templates/cedar/app/blog/[slug]/page.tsx diff --git a/templates/cedar/app/blog/page.tsx b/archive/templates/cedar/app/blog/page.tsx similarity index 100% rename from templates/cedar/app/blog/page.tsx rename to archive/templates/cedar/app/blog/page.tsx diff --git a/templates/cedar/app/changelog/page.tsx b/archive/templates/cedar/app/changelog/page.tsx similarity index 100% rename from templates/cedar/app/changelog/page.tsx rename to archive/templates/cedar/app/changelog/page.tsx diff --git a/templates/cedar/app/layout.tsx b/archive/templates/cedar/app/layout.tsx similarity index 100% rename from templates/cedar/app/layout.tsx rename to archive/templates/cedar/app/layout.tsx diff --git a/templates/cedar/app/theme.css b/archive/templates/cedar/app/theme.css similarity index 100% rename from templates/cedar/app/theme.css rename to archive/templates/cedar/app/theme.css diff --git a/templates/cedar/components/top-bar.tsx b/archive/templates/cedar/components/top-bar.tsx similarity index 100% rename from templates/cedar/components/top-bar.tsx rename to archive/templates/cedar/components/top-bar.tsx diff --git a/templates/cedar/content/docs/development.mdx b/archive/templates/cedar/content/docs/development.mdx similarity index 100% rename from templates/cedar/content/docs/development.mdx rename to archive/templates/cedar/content/docs/development.mdx diff --git a/templates/cedar/content/docs/docs.json b/archive/templates/cedar/content/docs/docs.json similarity index 100% rename from templates/cedar/content/docs/docs.json rename to archive/templates/cedar/content/docs/docs.json diff --git a/templates/cedar/content/docs/essentials/code-blocks.mdx b/archive/templates/cedar/content/docs/essentials/code-blocks.mdx similarity index 100% rename from templates/cedar/content/docs/essentials/code-blocks.mdx rename to archive/templates/cedar/content/docs/essentials/code-blocks.mdx diff --git a/templates/cedar/content/docs/essentials/components.mdx b/archive/templates/cedar/content/docs/essentials/components.mdx similarity index 100% rename from templates/cedar/content/docs/essentials/components.mdx rename to archive/templates/cedar/content/docs/essentials/components.mdx diff --git a/templates/cedar/content/docs/essentials/images.mdx b/archive/templates/cedar/content/docs/essentials/images.mdx similarity index 100% rename from templates/cedar/content/docs/essentials/images.mdx rename to archive/templates/cedar/content/docs/essentials/images.mdx diff --git a/templates/cedar/content/docs/essentials/markdown.mdx b/archive/templates/cedar/content/docs/essentials/markdown.mdx similarity index 100% rename from templates/cedar/content/docs/essentials/markdown.mdx rename to archive/templates/cedar/content/docs/essentials/markdown.mdx diff --git a/templates/cedar/content/docs/essentials/navigation.mdx b/archive/templates/cedar/content/docs/essentials/navigation.mdx similarity index 100% rename from templates/cedar/content/docs/essentials/navigation.mdx rename to archive/templates/cedar/content/docs/essentials/navigation.mdx diff --git a/templates/cedar/content/docs/index.mdx b/archive/templates/cedar/content/docs/index.mdx similarity index 100% rename from templates/cedar/content/docs/index.mdx rename to archive/templates/cedar/content/docs/index.mdx diff --git a/templates/cedar/content/docs/openapi.json b/archive/templates/cedar/content/docs/openapi.json similarity index 100% rename from templates/cedar/content/docs/openapi.json rename to archive/templates/cedar/content/docs/openapi.json diff --git a/templates/cedar/content/docs/quickstart.mdx b/archive/templates/cedar/content/docs/quickstart.mdx similarity index 100% rename from templates/cedar/content/docs/quickstart.mdx rename to archive/templates/cedar/content/docs/quickstart.mdx diff --git a/templates/cedar/content/docs/slug-history.json b/archive/templates/cedar/content/docs/slug-history.json similarity index 100% rename from templates/cedar/content/docs/slug-history.json rename to archive/templates/cedar/content/docs/slug-history.json diff --git a/templates/cedar/lib/icons.tsx b/archive/templates/cedar/lib/icons.tsx similarity index 100% rename from templates/cedar/lib/icons.tsx rename to archive/templates/cedar/lib/icons.tsx diff --git a/templates/cedar/lib/route.tsx b/archive/templates/cedar/lib/route.tsx similarity index 100% rename from templates/cedar/lib/route.tsx rename to archive/templates/cedar/lib/route.tsx diff --git a/templates/cedar/mdx-components.tsx b/archive/templates/cedar/mdx-components.tsx similarity index 100% rename from templates/cedar/mdx-components.tsx rename to archive/templates/cedar/mdx-components.tsx diff --git a/templates/cedar/next-env.d.ts b/archive/templates/cedar/next-env.d.ts similarity index 100% rename from templates/cedar/next-env.d.ts rename to archive/templates/cedar/next-env.d.ts diff --git a/templates/cedar/next.config.ts b/archive/templates/cedar/next.config.ts similarity index 100% rename from templates/cedar/next.config.ts rename to archive/templates/cedar/next.config.ts diff --git a/templates/cedar/package.json b/archive/templates/cedar/package.json similarity index 100% rename from templates/cedar/package.json rename to archive/templates/cedar/package.json diff --git a/templates/cedar/proxy.ts b/archive/templates/cedar/proxy.ts similarity index 100% rename from templates/cedar/proxy.ts rename to archive/templates/cedar/proxy.ts diff --git a/templates/cedar/public/favicon.svg b/archive/templates/cedar/public/favicon.svg similarity index 100% rename from templates/cedar/public/favicon.svg rename to archive/templates/cedar/public/favicon.svg diff --git a/templates/cedar/public/hero.svg b/archive/templates/cedar/public/hero.svg similarity index 100% rename from templates/cedar/public/hero.svg rename to archive/templates/cedar/public/hero.svg diff --git a/templates/cedar/public/logo.svg b/archive/templates/cedar/public/logo.svg similarity index 100% rename from templates/cedar/public/logo.svg rename to archive/templates/cedar/public/logo.svg diff --git a/templates/cedar/tsconfig.json b/archive/templates/cedar/tsconfig.json similarity index 100% rename from templates/cedar/tsconfig.json rename to archive/templates/cedar/tsconfig.json diff --git a/templates/cedar/widgets/index.ts b/archive/templates/cedar/widgets/index.ts similarity index 100% rename from templates/cedar/widgets/index.ts rename to archive/templates/cedar/widgets/index.ts diff --git a/templates/fern/.env.example b/archive/templates/fern/.env.example similarity index 100% rename from templates/fern/.env.example rename to archive/templates/fern/.env.example diff --git a/templates/fern/.gitignore b/archive/templates/fern/.gitignore similarity index 100% rename from templates/fern/.gitignore rename to archive/templates/fern/.gitignore diff --git a/templates/fern/README.md b/archive/templates/fern/README.md similarity index 100% rename from templates/fern/README.md rename to archive/templates/fern/README.md diff --git a/templates/fern/app/[[...slug]]/page.tsx b/archive/templates/fern/app/[[...slug]]/page.tsx similarity index 100% rename from templates/fern/app/[[...slug]]/page.tsx rename to archive/templates/fern/app/[[...slug]]/page.tsx diff --git a/templates/fern/app/api-reference/[[...slug]]/page.tsx b/archive/templates/fern/app/api-reference/[[...slug]]/page.tsx similarity index 100% rename from templates/fern/app/api-reference/[[...slug]]/page.tsx rename to archive/templates/fern/app/api-reference/[[...slug]]/page.tsx diff --git a/templates/fern/app/api/ask/route.ts b/archive/templates/fern/app/api/ask/route.ts similarity index 100% rename from templates/fern/app/api/ask/route.ts rename to archive/templates/fern/app/api/ask/route.ts diff --git a/templates/fern/app/blog/[slug]/page.tsx b/archive/templates/fern/app/blog/[slug]/page.tsx similarity index 100% rename from templates/fern/app/blog/[slug]/page.tsx rename to archive/templates/fern/app/blog/[slug]/page.tsx diff --git a/templates/fern/app/blog/page.tsx b/archive/templates/fern/app/blog/page.tsx similarity index 100% rename from templates/fern/app/blog/page.tsx rename to archive/templates/fern/app/blog/page.tsx diff --git a/templates/fern/app/changelog/page.tsx b/archive/templates/fern/app/changelog/page.tsx similarity index 100% rename from templates/fern/app/changelog/page.tsx rename to archive/templates/fern/app/changelog/page.tsx diff --git a/templates/fern/app/layout.tsx b/archive/templates/fern/app/layout.tsx similarity index 100% rename from templates/fern/app/layout.tsx rename to archive/templates/fern/app/layout.tsx diff --git a/templates/fern/app/theme.css b/archive/templates/fern/app/theme.css similarity index 100% rename from templates/fern/app/theme.css rename to archive/templates/fern/app/theme.css diff --git a/templates/fern/components/top-bar.tsx b/archive/templates/fern/components/top-bar.tsx similarity index 100% rename from templates/fern/components/top-bar.tsx rename to archive/templates/fern/components/top-bar.tsx diff --git a/templates/fern/content/docs/development.mdx b/archive/templates/fern/content/docs/development.mdx similarity index 100% rename from templates/fern/content/docs/development.mdx rename to archive/templates/fern/content/docs/development.mdx diff --git a/templates/fern/content/docs/docs.json b/archive/templates/fern/content/docs/docs.json similarity index 100% rename from templates/fern/content/docs/docs.json rename to archive/templates/fern/content/docs/docs.json diff --git a/templates/fern/content/docs/essentials/code-blocks.mdx b/archive/templates/fern/content/docs/essentials/code-blocks.mdx similarity index 100% rename from templates/fern/content/docs/essentials/code-blocks.mdx rename to archive/templates/fern/content/docs/essentials/code-blocks.mdx diff --git a/templates/fern/content/docs/essentials/components.mdx b/archive/templates/fern/content/docs/essentials/components.mdx similarity index 100% rename from templates/fern/content/docs/essentials/components.mdx rename to archive/templates/fern/content/docs/essentials/components.mdx diff --git a/templates/fern/content/docs/essentials/images.mdx b/archive/templates/fern/content/docs/essentials/images.mdx similarity index 100% rename from templates/fern/content/docs/essentials/images.mdx rename to archive/templates/fern/content/docs/essentials/images.mdx diff --git a/templates/fern/content/docs/essentials/markdown.mdx b/archive/templates/fern/content/docs/essentials/markdown.mdx similarity index 100% rename from templates/fern/content/docs/essentials/markdown.mdx rename to archive/templates/fern/content/docs/essentials/markdown.mdx diff --git a/templates/fern/content/docs/essentials/navigation.mdx b/archive/templates/fern/content/docs/essentials/navigation.mdx similarity index 100% rename from templates/fern/content/docs/essentials/navigation.mdx rename to archive/templates/fern/content/docs/essentials/navigation.mdx diff --git a/templates/fern/content/docs/index.mdx b/archive/templates/fern/content/docs/index.mdx similarity index 100% rename from templates/fern/content/docs/index.mdx rename to archive/templates/fern/content/docs/index.mdx diff --git a/templates/fern/content/docs/openapi.json b/archive/templates/fern/content/docs/openapi.json similarity index 100% rename from templates/fern/content/docs/openapi.json rename to archive/templates/fern/content/docs/openapi.json diff --git a/templates/fern/content/docs/quickstart.mdx b/archive/templates/fern/content/docs/quickstart.mdx similarity index 100% rename from templates/fern/content/docs/quickstart.mdx rename to archive/templates/fern/content/docs/quickstart.mdx diff --git a/templates/fern/content/docs/slug-history.json b/archive/templates/fern/content/docs/slug-history.json similarity index 100% rename from templates/fern/content/docs/slug-history.json rename to archive/templates/fern/content/docs/slug-history.json diff --git a/templates/fern/lib/icons.tsx b/archive/templates/fern/lib/icons.tsx similarity index 100% rename from templates/fern/lib/icons.tsx rename to archive/templates/fern/lib/icons.tsx diff --git a/templates/fern/lib/route.tsx b/archive/templates/fern/lib/route.tsx similarity index 100% rename from templates/fern/lib/route.tsx rename to archive/templates/fern/lib/route.tsx diff --git a/templates/fern/mdx-components.tsx b/archive/templates/fern/mdx-components.tsx similarity index 100% rename from templates/fern/mdx-components.tsx rename to archive/templates/fern/mdx-components.tsx diff --git a/templates/fern/next-env.d.ts b/archive/templates/fern/next-env.d.ts similarity index 100% rename from templates/fern/next-env.d.ts rename to archive/templates/fern/next-env.d.ts diff --git a/templates/fern/next.config.ts b/archive/templates/fern/next.config.ts similarity index 100% rename from templates/fern/next.config.ts rename to archive/templates/fern/next.config.ts diff --git a/templates/fern/package.json b/archive/templates/fern/package.json similarity index 100% rename from templates/fern/package.json rename to archive/templates/fern/package.json diff --git a/templates/fern/proxy.ts b/archive/templates/fern/proxy.ts similarity index 100% rename from templates/fern/proxy.ts rename to archive/templates/fern/proxy.ts diff --git a/templates/fern/public/favicon.svg b/archive/templates/fern/public/favicon.svg similarity index 100% rename from templates/fern/public/favicon.svg rename to archive/templates/fern/public/favicon.svg diff --git a/templates/fern/public/hero.svg b/archive/templates/fern/public/hero.svg similarity index 100% rename from templates/fern/public/hero.svg rename to archive/templates/fern/public/hero.svg diff --git a/templates/fern/public/logo.svg b/archive/templates/fern/public/logo.svg similarity index 100% rename from templates/fern/public/logo.svg rename to archive/templates/fern/public/logo.svg diff --git a/templates/fern/tsconfig.json b/archive/templates/fern/tsconfig.json similarity index 100% rename from templates/fern/tsconfig.json rename to archive/templates/fern/tsconfig.json diff --git a/templates/fern/widgets/index.ts b/archive/templates/fern/widgets/index.ts similarity index 100% rename from templates/fern/widgets/index.ts rename to archive/templates/fern/widgets/index.ts diff --git a/templates/mono/.env.example b/archive/templates/galley/.env.example similarity index 100% rename from templates/mono/.env.example rename to archive/templates/galley/.env.example diff --git a/templates/mono/.gitignore b/archive/templates/galley/.gitignore similarity index 100% rename from templates/mono/.gitignore rename to archive/templates/galley/.gitignore diff --git a/archive/templates/galley/README.md b/archive/templates/galley/README.md new file mode 100644 index 0000000..ba38899 --- /dev/null +++ b/archive/templates/galley/README.md @@ -0,0 +1,157 @@ +# Galley — @inkform/theme-galley + +Galley is Inkform's own design system, built on `@inkform/framework`. Warm +opaque paper + ink, one editorial "Proof" red-pencil accent, a serif prose +voice (Newsreader) beside a mono machine voice (JetBrains Mono) and a sans UI +voice (General Sans). Depth comes from paper layering and hairlines, never +heavy shadow or gradient. It supports Guides + API Reference tabs, plus Blog +and Changelog, out of the box. + +--- + +## Run locally + +```bash +npm install +npm run dev +# → http://localhost:3000 +``` + +If this is a fresh clone, copy the env file first: + +```bash +cp .env.example .env.local +# Edit NEXT_PUBLIC_SITE_URL if needed, then: +npm run dev +``` + +--- + +## Add content + +All content lives in `content/docs/`. + +### Navigation — `content/docs/docs.json` + +`docs.json` controls the site name, logo, tabs, and page hierarchy: + +```jsonc +{ + "name": "Your Docs", + "tabs": [ + { + "tab": "Guides", + "navigation": [ + { + "group": "Get Started", + "pages": [ + { "title": "Introduction", "slug": "", "file": "index.mdx" }, + { "title": "Quickstart", "slug": "quickstart", "file": "quickstart.mdx" } + ] + } + ] + }, + { "tab": "API Reference", "openapi": "openapi.json" } + ] +} +``` + +- `slug` is the URL path (empty string = the index `/`). +- `file` is the MDX file path relative to `content/docs/`. +- The `openapi` field on a tab points to a JSON/YAML spec file in `content/docs/`. + +### Writing MDX + +Add `.mdx` files under `content/docs/` and register them in `docs.json`. +Galley supports all built-in blocks: ``, ``, ``, ``, +``, ``, ``, ``, ``, ``, +``, ``, ``, and more. + +### API Reference + +Replace `content/docs/openapi.json` with your own OpenAPI 3.x spec (JSON or +YAML). The site auto-generates a sidebar and per-operation pages. No extra +configuration needed — just point the `openapi` tab field at your spec file. + +### Blog and Changelog + +Both ship wired and ready — `/blog` (list + post pages) and `/changelog` +(single dated list) render automatically once you add content: + +``` +content/ + blog/ + my-first-post.mdx # frontmatter: title, date, author, tags, description + series.json # optional — group posts into a series + changelog/ + 2026-01-15-v1.mdx # frontmatter: title, date, version +``` + +Both nav links only appear once at least one entry exists — an empty +`content/blog`/`content/changelog` (or no folder at all) keeps the top nav +clean and the pages still render a "no posts yet" state if visited directly. + +--- + +## Maintain + +### Slug redirects + +When a page's URL changes, record the old → new slug mapping in +`content/docs/slug-history.json` to issue a 301 redirect: + +```json +{ + "old-page-slug": "new-page-slug", + "essentials/old-name": "essentials/new-name" +} +``` + +### Ask AI widget + +The Ask AI button is built in but **disabled by default**. Enable it by setting +`NEXT_PUBLIC_DOCS_AI_ENABLED=true` in `.env.local`. Wire up a real LLM provider +in `app/api/ask/route.ts` (see the TODO comment there; currently returns a stub). + +--- + +## Deploy to Vercel + +1. Push this directory (or the whole monorepo) to a GitHub repository. +2. In the Vercel dashboard, click **Add New → Project** and import the repo. +3. **Framework preset**: Next.js. +4. **Root directory**: set to the path of this folder if deploying as a + standalone (e.g. `oss/templates/galley`), or leave blank if deploying the + directory itself. +5. Add the environment variable `NEXT_PUBLIC_SITE_URL` (your production URL, + e.g. `https://docs.example.com`). +6. Click **Deploy**. + +For a custom domain, go to **Settings → Domains** in your Vercel project and add +your domain. Vercel handles SSL automatically. + +--- + +## Deploy to AWS Amplify + +1. Connect the repo in the Amplify console. +2. Set the **Build settings** manually if auto-detection picks the wrong preset: + - **Build command**: `npm ci && npm run build` + - **Output directory**: `.next` + - **Framework**: Next.js (SSR) +3. Add the `NEXT_PUBLIC_SITE_URL` environment variable under + **Environment variables**. +4. Deploy. Amplify Hosting supports Next.js SSR/ISR natively since Gen 2. + +--- + +## Ask AI (deferred) + +The `` widget in the top bar is built in. To activate it: + +1. Set `NEXT_PUBLIC_DOCS_AI_ENABLED=true`. +2. Implement the LLM call in `app/api/ask/route.ts`. +3. Add `ANTHROPIC_API_KEY` (or your provider key) as a server-side env var. + +The widget renders in both enabled and disabled states — it just shows an +informational notice when disabled. diff --git a/templates/mono/app/[[...slug]]/page.tsx b/archive/templates/galley/app/[[...slug]]/page.tsx similarity index 100% rename from templates/mono/app/[[...slug]]/page.tsx rename to archive/templates/galley/app/[[...slug]]/page.tsx diff --git a/templates/mono/app/api-reference/[[...slug]]/page.tsx b/archive/templates/galley/app/api-reference/[[...slug]]/page.tsx similarity index 100% rename from templates/mono/app/api-reference/[[...slug]]/page.tsx rename to archive/templates/galley/app/api-reference/[[...slug]]/page.tsx diff --git a/templates/mono/app/api/ask/route.ts b/archive/templates/galley/app/api/ask/route.ts similarity index 100% rename from templates/mono/app/api/ask/route.ts rename to archive/templates/galley/app/api/ask/route.ts diff --git a/templates/mono/app/blog/[slug]/page.tsx b/archive/templates/galley/app/blog/[slug]/page.tsx similarity index 100% rename from templates/mono/app/blog/[slug]/page.tsx rename to archive/templates/galley/app/blog/[slug]/page.tsx diff --git a/templates/mono/app/blog/page.tsx b/archive/templates/galley/app/blog/page.tsx similarity index 100% rename from templates/mono/app/blog/page.tsx rename to archive/templates/galley/app/blog/page.tsx diff --git a/templates/mono/app/changelog/page.tsx b/archive/templates/galley/app/changelog/page.tsx similarity index 100% rename from templates/mono/app/changelog/page.tsx rename to archive/templates/galley/app/changelog/page.tsx diff --git a/archive/templates/galley/app/layout.tsx b/archive/templates/galley/app/layout.tsx new file mode 100644 index 0000000..e84db3c --- /dev/null +++ b/archive/templates/galley/app/layout.tsx @@ -0,0 +1,59 @@ +import type { Metadata } from 'next'; +import { Newsreader, JetBrains_Mono } from 'next/font/google'; +import '@inkform/framework/styles.css'; +import './theme.css'; +import { themeInitScript } from '@inkform/framework/theme-toggle'; +import { loadDocsConfig } from '@inkform/framework/content'; + +// Two-voice typography: Newsreader is the human/prose voice (display + +// long-form reading), General Sans is the UI voice (loaded via a tag +// in below — it's a Fontshare font, not on Google Fonts, so it can't +// go through next/font/google), JetBrains Mono is the machine voice (anything +// Git touches: paths, hashes, commits, code). Matches the Galley design +// system's own font stack exactly (see the inkform-design skill). +const newsreader = Newsreader({ + subsets: ['latin'], + style: ['normal', 'italic'], + variable: '--font-heading', + display: 'swap', +}); + +const jetbrainsMono = JetBrains_Mono({ + subsets: ['latin'], + variable: '--font-mono', + display: 'swap', +}); + +export async function generateMetadata(): Promise { + const config = loadDocsConfig(); + const name = config?.name ?? 'Galley Docs'; + return { + title: { default: name, template: `%s · ${name}` }, + description: `Documentation for ${name}`, + icons: { icon: config?.favicon ?? '/favicon.svg' }, + }; +} + +export default function RootLayout({ children }: { children: React.ReactNode }) { + return ( + + + {/* No-flash theme init — must run synchronously before first paint */} +