Thank you for considering contributing to this project! We appreciate your time and effort in improving our work. Below are the guidelines to help you contribute effectively.
To suggest improvements or new research, you can create an issue by following these steps:
-
Check existing issues: Before creating a new issue, ensure that there isn't a similar one in the current list: Issues.
-
To create a new issue, click here: Create a new Issue.
-
Use an appropriate prefix in the title: Since this is a documentation and research repository, please use the following prefixes to organize contributions effectively:
- docs: for issues related to documentation changes.
- research: for issues that suggest or request research topics.
Example:
docs: update README file
research: add resources about the Stellar ecosystem
-
Clearly describe the improvement or research: Provide all relevant information or context to help others understand the issue.
Please explain your background and how you plan to resolve the issue, as well as provide an estimate of the time it would take to resolve it.
To make changes, first fork the main repository:
- Fork the repository: On the main page of the repository, select the "Fork" button to create a copy in your account.
- Clone your fork to your local machine using the following command:
git clone https://github.com/your-username/semaphore-stellar-docs.git cd semaphore-stellar-docs
For each contribution, create a new branch with a meaningful name that follows a clear convention:
- For documentation:
docs-meaningful-name
- For research:
research-meaningful-name
Example:
git checkout -b docs-update-readme-file
Make the necessary changes to the codebase.
We encourage contributors to adhere to the following best practices:
- Ensure that the content is clear and free of grammatical errors.
- Maintain consistency in tone and formatting throughout the document.
- Verify that all links work correctly and check for typos before submitting your changes.
Add the changes to the staging area:
git add .
Commit with a meaningful message that clearly describes the change. Please use the conventional commit format to improve readability and organization of commit history. You can refer to the guidelines here: Conventional Commits.
git commit -m "type(scope): description"
Examples:
- docs: for documentation changes:
git commit -m "docs: update README file with installation instructions"
- feat: for adding a new feature:
git commit -m "feat(user-auth): add login functionality"
- fix: for fixing a bug:
git commit -m "fix(api): correct endpoint URL in API documentation"
- refactor: for code changes that neither fix a bug nor add a feature:
git commit -m "refactor(utils): simplify data parsing function"
- test: for adding or updating tests:
git commit -m "test(auth): add unit tests for login functionality"
Push your changes to your GitHub repository:
git push origin branch-name
When you are ready, submit a Pull Request for review. Follow these steps:
- Go to your forked repository on GitHub.
- Click on the "Compare & pull request" button.
- Ensure your PR has a clear and descriptive title.
- Complete the Pull Request template provided, offering a detailed explanation of the changes made.
All contributions must go through the PR review process to maintain quality and consistency. A project maintainer will review your PR and provide feedback or merge it into the main branch.