Welcome to Rootstock!
We're excited to have you contribute to Rootstock Open Source Projects. This guide will help you understand the contribution process and ensure contributors have clear guidelines and procedures for how to contribute.
All contributions are welcome, including issues, updates and tweaks, tutorials and more.
Please read our Code of Conduct before contributing. We are committed to fostering a welcoming and inclusive community.
- Check for Existing Issues: Before reporting a bug, please check the issue tracker to see if it has already been reported.
- Create a New Issue: If your issue is not listed, create a new one. Provide as much detail as possible:
- A clear and descriptive title.
- Steps to reproduce the bug.
- Expected and actual results.
- Any relevant screenshots or logs.
- Your environment details (OS, browser, version, etc.).
- Check for Existing Requests: Look through the issue tracker to see if someone else has suggested the feature.
- Create a New Feature Request: If the feature is not listed, open a new issue. Include:
- A clear and descriptive title.
- The motivation for the feature.
- Detailed description of the proposed feature.
- Any relevant mockups or screenshots.
- Fork the Repository: Fork our repo to your GitHub account.
- Clone Your Fork: Clone your fork to your local machine.
git clone https://github.com/rsksmart/devportal.git
- Create a Branch: Create a new branch for your work.
git checkout -b feature-branch
- Install Dependencies: Install the necessary dependencies for the project.
npm install
- Run the Project: Ensure everything is working by running the project.
yarn start
- Follow the Style Guide: Adhere to our coding standards.
- Test: Ensure your docs is working. by using this command
yarn build
- Locate docs folder: Our documentation files are located in the
/docs
directory of the repository. After cloning the repo, navigate to this directory to see the existing documentation structure.
- Push Your Branch: Push your branch to your forked repository.
git push origin feature-branch
Branch naming convention is as following
AREA-ISSUE_ID-DESCRIPTION
Example:
doc-001-submit-a-pull-request-section-to-contribution-guide
When AREA
can be:
- feat - add a new feature
- doc - update documentation
- fix - a bug fix or resolve na issue
- refactor - code change that neither fixes a bug nor adds a feature
- Open a Pull Request: Navigate to our repository and open a pull request (PR).
- Provide a clear description of the changes.
- Link to any relevant issues.
All PRs must include a commit message with the description of the changes made!
- Use clear and concise commit messages. Follow the Conventional Commits specification.
- Use the present tense ("Add feature" not "Added feature")
- Use the imperative mood ("Move cursor to..." not "Moves cursor to...")
- Limit the first line to 72 characters or less
- Consider starting the commit message with an applicable emoji:
- 🎨 🎨 when improving the format/structure of the code
- 🐎 🐎 when improving performance
- 🚱 🚱 when plugging memory leaks
- 📝 📝 when writing docs
- 🐧 🐧 when fixing something on Linux
- 🍎 🍎 when fixing something on macOS
- 🏁 🏁 when fixing something on Windows
- 🐛 🐛 when fixing a bug
- 🔥 🔥 when removing code or files
- 💚 💚 when fixing the CI build
- ✅ ✅ when adding tests
- 🔒 🔒 when dealing with security
- ⬆️ ⬆️ when upgrading dependencies
- ⬇️ ⬇️ when downgrading dependencies
- 👕 👕 when removing linter warnings
- Code Review: Your PR will be reviewed by our maintainers. They may ask for changes or provide feedback.
- Make Necessary Changes: Address any feedback and update your PR.
- Merge: Once approved, your PR will be merged into the main branch.
- Join the Discussion: Participate in discussions and If you need help, reach out to us on discord.
- Stay Updated: Follow our updates on social media.
By contributing, you agree that your contributions will be licensed under the MIT License.
Thank you for contributing to Rootstock!