Thank you for your interest in contributing to Pocat documentation! This guide will help you get started.
-
Fork the repository
git clone https://github.com/your-username/pocat-docs.git cd pocat-docs -
Install dependencies
pnpm install
-
Start development server
pnpm dev
-
Open your browser Navigate to
http://localhost:4321
src/content/docs/
├── getting-started/ # Getting started guides
├── api/ # API documentation
├── downloaders/ # Downloader engine docs
├── examples/ # Code examples
├── development/ # Development guides
└── reference/ # Reference materials
- Use clear, concise language
- Include practical examples
- Add code snippets where helpful
- Use proper markdown formatting
- Use kebab-case for file names
- Include
.mdextension - Be descriptive but concise
Each documentation page should include frontmatter:
---
title: Page Title
description: Brief description of the page content
---| Command | Description |
|---|---|
pnpm dev |
Start development server |
pnpm build |
Build for production |
pnpm preview |
Preview production build |
- Create a new
.mdfile in the appropriate directory - Add frontmatter with title and description
- Update the sidebar in
astro.config.mjsif needed - Test locally before submitting
When reporting issues, please include:
- Clear description of the problem
- Steps to reproduce
- Expected vs actual behavior
- Screenshots if applicable
-
Create a feature branch
git checkout -b feature/your-feature-name
-
Make your changes
- Follow the writing guidelines
- Test your changes locally
- Ensure all links work correctly
-
Commit your changes
git commit -m "docs: add/update [description]" -
Push and create PR
git push origin feature/your-feature-name
-
Submit pull request
- Use a clear, descriptive title
- Include summary of changes
- Reference any related issues
We especially welcome contributions in these areas:
- API Examples: Real-world usage examples
- Integration Guides: How to integrate with different frameworks
- Troubleshooting: Common issues and solutions
- Performance Tips: Optimization recommendations
- Issues: GitHub Issues
- Discussions: GitHub Discussions
By contributing to Pocat documentation, you agree that your contributions will be licensed under the MIT License.
Thank you for helping make Pocat documentation better! 🎉