Thank you for your interest in contributing to Apple Docs to Markdown! This document provides guidelines and instructions for contributing.
By participating in this project, you agree to abide by our Code of Conduct. Please be respectful and considerate in all interactions.
- Check if the issue already exists
- Use the issue template when creating new issues
- Provide clear descriptions and steps to reproduce
- Include system information when relevant
- Fork the repository
- Create a feature branch (
git checkout -b feature/amazing-feature) - Make your changes
- Write or update tests as needed
- Ensure all tests pass
- Commit with clear messages (
git commit -m 'Add amazing feature') - Push to your branch (
git push origin feature/amazing-feature) - Open a Pull Request
- Clone your fork:
git clone https://github.com/yourusername/apple-docs-to-markdown.git
cd apple-docs-to-markdown- Install dependencies:
pnpm install- Create
.env.local:
cp .env.local.example .env.local
# Add your Firecrawl API key- Run development server:
pnpm run dev- Use TypeScript strict mode
- Follow existing code style
- Use meaningful variable and function names
- Add JSDoc comments for public APIs
- Keep functions small and focused
Run tests before submitting:
pnpm testFollow conventional commits:
feat:New featuresfix:Bug fixesdocs:Documentation changesstyle:Code style changesrefactor:Code refactoringtest:Test additions/changeschore:Maintenance tasks
Example: feat: add export to PDF functionality
Feel free to open an issue for any questions or join our discussions.