# Clone the repository
git clone https://github.com/webrenew/mogplex-docs.git
cd mogplex-docs
# Install dependencies
pnpm install
# Start development server
pnpm dev
# Run typecheck
pnpm types:check
# Run lint
pnpm lint
# Run tests
pnpm test
# Production build
pnpm buildThis is a Next.js documentation site using Fumadocs. Key directories:
| Directory | Description |
|---|---|
content/ |
MDX documentation files |
src/app/ |
Next.js app router pages |
src/components/ |
React components |
src/lib/ |
Utilities and source configuration |
scripts/ |
Build and generation scripts |
tests/ |
Test files |
This project uses Conventional Commits:
feat: add new documentation page
fix: correct broken link
chore: update dependencies
docs: improve API reference
main— primary development branch- Feature branches via PR
Husky is configured with lint-staged to run ESLint on changed files.
Do not bypass hooks with --no-verify unless you have a specific reason and will run checks manually.
- Create a feature branch from
main - Make your changes with appropriate commits
- Ensure
pnpm types:check && pnpm lint && pnpm testpasses - Open a PR with a clear description of changes
- Address review feedback
- Use clear, concise language
- Include code examples where helpful
- Keep pages focused on a single topic
- Test any code snippets you include
Open a GitHub issue for questions or discussions.