Thank you for your interest in contributing to DevDocs Hub! Contributions typically involve adding new documentation resources to our central data file (data.json).
Follow this standard workflow to contribute to the project. It ensures your main branch stays clean and keeps your fork in sync with the upstream repository.
- Fork the repo on GitHub, then clone your fork locally:
git clone https://github.com/YOUR-USERNAME/DevDocs.git cd DevDocs - Add the original repository as an upstream remote to keep your fork updated:
git remote add upstream https://github.com/uGSOT/DevDocs.git
Always create a new, isolated branch for your changes instead of working on main.
git checkout -b feature/add-resource-name- Update
data.jsonwith your new entry. - Run the application locally (e.g. via
npx serve .) to ensure the syntax is valid and the card renders correctly.
- Stage your changes:
git add data.json
- Write a descriptive commit message following Conventional Commits format (e.g.
feat: add react documentation):git commit -m "feat: add [Resource Name] documentation" - Push your feature branch to your fork:
git push origin feature/add-resource-name
- Navigate to the original repository on GitHub.
- Click the "Compare & pull request" button.
- Ensure the base branch is the original repository's
mainand the compare branch is your newfeature/add-resource-namebranch. - Fill out the PR template/description and submit!