This repository contains the Arch Network documentation migrated from GitBook to Fumadocs, a modern React-based documentation framework.
- Node.js v19+
- npm or yarn
# Clone the repository
git clone https://github.com/Arch-Network/docs-fumadocs.git
cd docs-fumadocs
# Install dependencies
npm install
# Start development server
npm run devThe documentation will be available at http://localhost:3000.
npm run build
npm startThis documentation site can be deployed to multiple platforms:
The site is currently deployed on Vercel. Pushes to main automatically trigger deployments.
Production-ready automated deployment system with Infrastructure as Code.
π New to this? Start with
AWS_DEPLOYMENT_SUMMARY.mdfor a complete overview.
Quick Links:
- π Setup Checklist - Step-by-step guide
- π Deployment Guide - Detailed instructions
- ποΈ Terraform Docs - Infrastructure details
- βοΈ GitHub Actions - CI/CD workflows
Quick start:
cd terraform
./setup.sh
# Follow the interactive promptsManual deployment:
cd terraform
make init
make plan
make applySee the terraform/ directory for detailed Terraform configuration.
Cost comparison:
- Vercel: $0-20/month (Hobby/Pro)
- AWS Amplify: $5-20/month
- AWS ECS/EKS: $50-300/month (not recommended for docs)
GitHub Actions workflows are pre-configured for:
- β Automated testing and linting on PRs
- β Terraform validation and planning
- β Automatic deployment to AWS Amplify
- β Deployment notifications
Setup:
- Add GitHub Secrets (AWS credentials, GitHub token)
- Merge to
mainβ Automatically deploys!
See .github/workflows/README.md and DEPLOYMENT.md for details.
docs-fumadocs/
βββ content/
β βββ docs/ # Documentation content (MDX files)
β βββ getting-started/ # Getting started guides
β βββ concepts/ # Core concepts
β βββ guides/ # Development guides
β βββ sdk/ # SDK documentation
β βββ rpc/ # RPC API reference
β βββ meta.json # Navigation structure
βββ src/
β βββ app/ # Next.js app directory
β βββ lib/ # Utility functions
β βββ mdx-components.tsx # MDX component overrides
βββ public/
β βββ images/ # Static assets
βββ package.json
- Project setup and configuration
- Main introduction page
- Quick start guide
- Architecture overview
- Basic navigation structure
- Image assets migration
- Theme customization for Arch Network branding
- Additional content migration from GitBook
- Search functionality optimization
- Mobile responsiveness improvements
- Complete migration of all GitBook content
- API reference documentation
- SDK documentation
- Program examples and guides
- System program documentation
The Fumadocs theme can be customized by modifying:
src/app/global.css- Global stylessrc/lib/layout.shared.tsx- Shared layout componentscontent/docs/meta.json- Navigation structure
- Create MDX files in the appropriate directory under
content/docs/ - Update
content/docs/meta.jsonto include the new pages in navigation - Use Fumadocs components like
<Cards>,<Card>,<Callout>, etc.
<Cards>and<Card>- For creating card layouts<Callout>- For info, warning, and tip callouts<Tabs>and<Tab>- For tabbed content<Steps>and<Step>- For step-by-step guides
npm run dev- Start development servernpm run build- Build for productionnpm run start- Start production servernpm run lint- Run ESLint
- Modern React Framework: Built with Next.js 15 and React 19
- MDX Support: Write documentation with JSX components
- Type Safety: Full TypeScript support
- Search: Built-in search functionality
- Responsive Design: Mobile-first responsive design
- Dark Mode: Automatic dark/light mode support
This documentation was migrated from the original GitBook repository. Key changes:
- Format: Converted from Markdown to MDX for enhanced functionality
- Components: Replaced GitBook-specific components with Fumadocs equivalents
- Navigation: Restructured navigation using Fumadocs meta.json format
- Styling: Updated to use Tailwind CSS and Fumadocs design system
- Fork the repository
- Create a feature branch
- Make your changes
- Test locally with
npm run dev - Submit a pull request
This documentation is part of the Arch Network project and follows the same licensing terms.