Thank you for considering contributing to the Rust Lang Book repository! Your contributions, no matter how big or small, play a crucial role in improving the quality and content of the book. We appreciate your effort and dedication to making this resource better for the Rust community.
Contributing to the Rust Lang Book repository is easy! Follow these steps to get started:
Start by forking the repository to your GitHub account. This will create a copy of the repository under your account, allowing you to make changes without affecting the main project.
Clone the forked repository to your local machine using the following command:
$ git clone https://github.com/your-username/rust-lang-book.git
Replace "your-username" with your GitHub username.
Create a new branch for your local development with a descriptive name for your bug fix or feature:
$ git checkout -b name-of-your-bugfix-or-feature
Now you can make your changes locally.
Make the desired changes to the content or address any issues you’ve identified. Ensure that your changes align with the project’s goals and coding standards.
If applicable, test your changes to ensure they work as expected. This is especially important if you’re updating or adding code in the Jupyter notebooks.
Commit your changes with clear and concise commit messages. This helps maintain a clean and readable version history.
$ git add .
$ git commit -m "Brief description of the changes"
Push your changes to your forked repository on GitHub:
$ git push origin name-of-your-bugfix-or-feature
Aside from content improvements, you can also contribute by keeping the libraries code in each Jupyter notebook up-to-date. Ensure that dependencies and libraries are bumped to the latest versions for a better learning experience.
Thank you for your contribution to the Rust Lang Book repository! 🎉