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 dev
The documentation will be available at http://localhost:3000
.
npm run build
npm start
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.json
to 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.