Contributing
We welcome contributions to our documentation. Whether you want to fix a typo, add examples, or suggest new topics, your contributions are valuable to us. Below are the guidelines for contributing to our documentation.
How to Contribute
One-Click Contribution
-
If you find a typo or want to suggest an improvement, click the notepad with a pencil icon at the top right of the page:
- This will take you to the GitHub page for that file.
- If you are logged in to GitHub, you can edit the file directly in your browser. If you are not logged in, you will be prompted to log in or create an account.
-
Make your changes in the online editor.
-
Click “Propose changes” to create a pull request (PR) with your changes.
- Commit your changes with a clear and descriptive commit message. We use Conventional Commits for commit messages, so please follow that format:
- Commit your changes with a clear and descriptive commit message. We use Conventional Commits for commit messages, so please follow that format:
-
Wait for feedback from the maintainers. They may request changes or approve your PR. Once approved, your changes will be merged into the main repository.
-
Celebrate your contribution! 🎉
Full Development Setup
-
Create a GitHub account if you don’t have one.
-
Fork the repository by clicking the “Fork” button at the top right of the page:
-
Clone your forked repository to your local machine:
git clone https://github.com/PextraCloud/documentation.git
-
Create a new branch for your changes:
git switch -c <name>/<feature>
-
Set up your development environment:
- Install the necessary dependencies.
- Follow the instructions in the repository’s README for setting up your local environment.
-
Make your changes to the documentation files.
- Use Markdown for formatting.
- Follow the existing style and structure of the documentation.
-
Commit your changes with a clear and descriptive commit message. We use Conventional Commits for commit messages, so please follow that format:
git add . git commit -m "fix: correct typo in installation guide"
-
Push your changes to your forked repository:
git push origin <name>/<feature>
-
Create a pull request (PR) to the main repository:
- Navigate to the original documentation repository.
- Click on the “Pull Requests” tab.
- Click on “New Pull Request.”
- Select your branch and click “Create Pull Request.”
- Provide a clear description of your changes and why they are needed.
-
Wait for feedback from the maintainers. They may request changes or approve your PR. Once approved, your changes will be merged into the main repository.
-
Celebrate your contribution! 🎉