The official, interactive documentation website for the FastAPI ZCore Framework.
Engineered with Next.js App Router, Fumadocs, Tailwind CSS, and MDX.
This repository houses the source code, interactive landing page, and comprehensive architectural guides for FastAPI ZCore Framework.
- 🚀 Live Site: https://zcore.baseryn.com
- 📦 Core Framework Repo: https://github.com/Baseryn/zcore
- 🐍 PyPI Package: fastapi-zcore-framework
- 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)
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
Follow these steps to run the documentation website locally on your machine:
- Node.js:
v18.17.0or higher (recommended: Node 20+) - Package Manager:
pnpm(recommended),npm, oryarn
# Clone the documentation repository
git clone https://github.com/Baseryn/zcore-docs.git
cd zcore-docs
# Install dependencies
npm install
# or
pnpm installnpm run dev
# or
pnpm devOpen http://localhost:3000 in your browser to see the live hot-reloading site.
To test the production static export:
npm run buildThe compiled static output will be generated inside the out/ directory.
We welcome documentation improvements, typo fixes, and new how-to guides!
- Fork this repository.
- Create a branch:
git checkout -b docs/improve-guide-name. - Edit or create MDX files under
content/docs/. - If you create a new page, add its filename (without
.mdx) to the correspondingmeta.json. - Verify formatting locally with
npm run build. - Submit a Pull Request.
<Callout type="info|warning|error|success"><TypeTable type={{ ... }} /><Tabs items={['A', 'B']}>&<Tab value="A"><Steps>&<Step><Files>&<Folder>&<File><Accordions>&<Accordion><Mermaid chart="..." />
This documentation is open-sourced under the Apache License 2.0.
See the LICENSE file for details.
Maintained by the Baseryn.
