Thank you for your interest in contributing to the DevSphere website! This document provides guidelines and instructions for contributing to the project.
By participating in this project, you agree to abide by our Code of Conduct. Please read it before contributing.
- Node.js 18.17 or higher
- pnpm 8.0 or higher (recommended)
- Git
- Code editor (VS Code recommended)
-
Fork the Repository
Click the "Fork" button at the top right of the repository page.
-
Clone Your Fork
git clone https://github.com/YOUR_USERNAME/devsphere-website.git cd devsphere-website -
Add Upstream Remote
git remote add upstream https://github.com/devsphere/devsphere-website.git
-
Install Dependencies
pnpm install
-
Create a Branch
git checkout -b feature/your-feature-name
-
Start Development Server
pnpm dev
git fetch upstream
git checkout main
git merge upstream/mainUse descriptive branch names:
git checkout -b feature/add-new-component
git checkout -b fix/navigation-bug
git checkout -b docs/update-readme- Write clean, maintainable code
- Follow the project's coding standards
- Add comments where necessary
- Test your changes thoroughly
git add .
git commit -m "feat: add new testimonial component"See Commit Message Guidelines below.
git push origin feature/your-feature-nameGo to the original repository and click "New Pull Request"
By contributing, you agree that your contributions will be licensed under the same license as the project.
Thank you for contributing to DevSphere! 🚀