Skip to content

About

Resources

Stars

0 stars

Watchers

0 watching

Forks

Repository files navigation

ZCore Documentation

The official, interactive documentation website for the FastAPI ZCore Framework.
Engineered with Next.js App Router, Fumadocs, Tailwind CSS, and MDX.

Live Docs ZCore Repo Fumadocs License


🌐 Overview

This repository houses the source code, interactive landing page, and comprehensive architectural guides for FastAPI ZCore Framework.


🛠️ Tech Stack

  • Framework: Next.js (App Router, Static HTML Export)
  • Documentation Engine: Fumadocs (Macro API, Collections, TypeTable)
  • Diagrams: Mermaid via beautiful-mermaid
  • Typography & Icons: Lucide Icons & Inter Font
  • Deployment: GitHub Pages (Static CI/CD)

📂 Project Structure

zcore-docs/
├── content/
│   └── docs/                     # 📝 Markdown & MDX documentation sources
│       ├── meta.json             # Root navigation and sidebar configuration
│       ├── quick-start.mdx       # 5-minute setup guide
│       ├── what-is-zcore.mdx     # Framework philosophy and non-goals
│       ├── comparisons.mdx       # Technical comparison matrix
│       ├── changelog.mdx         # Semantic release notes & migrations
│       ├── quick-learn/          # 10-step end-to-end tutorial
│       ├── how-to/               # Task-focused recipes and guides
│       ├── core-concepts/        # Deep-dive architecture concepts
│       └── api-reference/        # Class, method, and hook API tables
├── public/                       # 🖼️ Static assets (favicons, banners)
├── src/
│   ├── app/                      # Next.js App Router (Landing page & Layouts)
│   ├── components/               # Custom MDX components (Mermaid, etc.)
│   └── lib/                      # Fumadocs source loaders and shared configs
├── next.config.mjs               # Next.js & Fumadocs build configuration
└── package.json                  # Node dependencies and scripts

💻 Local Development

Follow these steps to run the documentation website locally on your machine:

1. Prerequisites

  • Node.js: v18.17.0 or higher (recommended: Node 20+)
  • Package Manager: pnpm (recommended), npm, or yarn

2. Clone & Install

# Clone the documentation repository
git clone https://github.com/Baseryn/zcore-docs.git
cd zcore-docs

# Install dependencies
npm install
# or
pnpm install

3. Start Development Server

npm run dev
# or
pnpm dev

Open http://localhost:3000 in your browser to see the live hot-reloading site.

4. Build & Export

To test the production static export:

npm run build

The compiled static output will be generated inside the out/ directory.


✍️ Contributing to Documentation

We welcome documentation improvements, typo fixes, and new how-to guides!

  1. Fork this repository.
  2. Create a branch: git checkout -b docs/improve-guide-name.
  3. Edit or create MDX files under content/docs/.
  4. If you create a new page, add its filename (without .mdx) to the corresponding meta.json.
  5. Verify formatting locally with npm run build.
  6. Submit a Pull Request.

MDX Features Supported

  • <Callout type="info|warning|error|success">
  • <TypeTable type={{ ... }} />
  • <Tabs items={['A', 'B']}> & <Tab value="A">
  • <Steps> & <Step>
  • <Files> & <Folder> & <File>
  • <Accordions> & <Accordion>
  • <Mermaid chart="..." />

📄 License

This documentation is open-sourced under the Apache License 2.0.
See the LICENSE file for details.

Maintained by the Baseryn.

About

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages