From 44efecd0b6695389ae731d7190726fc5425fe152 Mon Sep 17 00:00:00 2001 From: Andres J Date: Sat, 7 Feb 2026 15:21:26 -0600 Subject: [PATCH] fix(docs): use relative internal links and remove leading slashes; keep site/domain + base subpath --- apps/docs/astro.config.ts | 8 +-- apps/docs/src/content/docs/index.mdx | 87 +++++++++++++++------------- 2 files changed, 51 insertions(+), 44 deletions(-) diff --git a/apps/docs/astro.config.ts b/apps/docs/astro.config.ts index 83ab87b7..dadbffaf 100644 --- a/apps/docs/astro.config.ts +++ b/apps/docs/astro.config.ts @@ -17,7 +17,7 @@ export default defineConfig({ { label: "ReactJs", icon: "seti:react", - link: "/react/", + link: "react/", id: "react", items: [ { @@ -39,7 +39,7 @@ export default defineConfig({ { label: "SolidJs", icon: "seti:sublime", - link: "/solid/", + link: "solid/", id: "solid", items: [ { @@ -61,7 +61,7 @@ export default defineConfig({ { label: "Backend", icon: "bars", - link: "/backend/", + link: "backend/", id: "backend", items: [ { @@ -83,7 +83,7 @@ export default defineConfig({ { label: "Universal", icon: "puzzle", - link: "/universal/", + link: "universal/", id: "universal", items: [ { diff --git a/apps/docs/src/content/docs/index.mdx b/apps/docs/src/content/docs/index.mdx index 5c76c8a3..c7a059e9 100644 --- a/apps/docs/src/content/docs/index.mdx +++ b/apps/docs/src/content/docs/index.mdx @@ -18,7 +18,7 @@ hero: file: ../../assets/houston.webp actions: - text: Get Started - link: /react/getting-started/ + link: react/getting-started/ icon: right-arrow - text: View on GitHub link: https://github.com/devx-op/effectify @@ -31,7 +31,7 @@ banner: to follow along with development. --- -import { Card, CardGrid } from '@astrojs/starlight/components'; +import { Card, CardGrid } from "@astrojs/starlight/components"; ## What is Effectify? @@ -43,37 +43,42 @@ Effectify is a comprehensive suite of packages that brings the power of [Effect] Effect integration with TanStack Query, comprehensive UI components, and real-time chat functionality for React applications. - [Explore React packages →](/react/) - - - Reactive Effect integration optimized for SolidJS's fine-grained reactivity system with UI components and chat features. + [Explore React packages →](react/) + + + Reactive Effect integration optimized for SolidJS's fine-grained reactivity system with UI components and chat features. - [Explore SolidJS packages →](/solid/) - - - Authentication services, better-auth integration, and complete backend solutions built with Effect. + [Explore SolidJS packages →](solid/) + + + Authentication services, better-auth integration, and complete backend solutions built with Effect. - [Explore Backend packages →](/backend/) - - - Shared domain logic, types, and business rules that work across all platforms and frameworks. + [Explore Backend packages →](backend/) + + + Shared domain logic, types, and business rules that work across all platforms and frameworks. + + [Explore Universal packages →](universal/) + - [Explore Universal packages →](/universal/) - ## Key Features ### Type Safety First + Every package is built with TypeScript and Effect's powerful type system, providing compile-time guarantees and excellent IDE support. ### Composable Architecture + Build complex applications from simple, composable parts using Effect's functional programming patterns. ### Error Handling + Robust error handling with Effect's error management system, making your applications more reliable and easier to debug. ### Cross-Platform Consistency + Share business logic and types across React, SolidJS, and Node.js applications for consistent behavior. ## Quick Start @@ -86,22 +91,23 @@ Choose your platform to get started: npm install @effectify/react-query @tanstack/react-query effect ``` - [React Quick Start →](/react/getting-started/) - - - ```bash - npm install @effectify/solid-query @tanstack/solid-query effect - ``` + [React Quick Start →](react/getting-started/) + + + ```bash + npm install @effectify/solid-query @tanstack/solid-query effect + ``` - [SolidJS Quick Start →](/solid/getting-started/) - - - ```bash - npm install @effectify/node-better-auth better-auth effect - ``` + [SolidJS Quick Start →](solid/getting-started/) + + + ```bash + npm install @effectify/node-better-auth better-auth effect + ``` + + [Backend Quick Start →](backend/getting-started/) + - [Backend Quick Start →](/backend/getting-started/) - ## Example Applications @@ -119,18 +125,19 @@ Explore complete example applications built with Effectify: View source code, report issues, and contribute to the project. - [Visit GitHub →](https://github.com/devx-op/effectify) - - - Join the community discussions, ask questions, and share your projects. + [Visit GitHub →](https://github.com/devx-op/effectify) + + + Join the community discussions, ask questions, and share your projects. + + [Join Discussions →](https://github.com/devx-op/effectify/discussions) + + + Connect with the broader Effect community for support and collaboration. - [Join Discussions →](https://github.com/devx-op/effectify/discussions) - - - Connect with the broader Effect community for support and collaboration. + [Join Discord →](https://discord.gg/effect-ts) + - [Join Discord →](https://discord.gg/effect-ts) - ## Deployment Verification