16.2 Contributing¶
Due to the limited abilities of the author, some omissions and errors are inevitable in this book. Please understand. If you discover any typos, broken links, missing content, textual ambiguities, unclear explanations, or unreasonable text structures, please assist us in making corrections to provide readers with better quality learning resources.
The GitHub IDs of all contributors will be displayed on the repository, web, and PDF versions of the homepage of this book to thank them for their selfless contributions to the open-source community.
The charm of open source
The interval between two printings of a paper book is often long, making content updates very inconvenient.
In this open-source book, however, the content update cycle is shortened to just a few days or even hours.
1. Content fine-tuning¶
As shown in Figure 16-3, there is an "edit icon" in the upper right corner of each page. You can follow these steps to modify text or code.
- Click the "edit icon". If prompted to "fork this repository", please agree to do so.
- Modify the Markdown source file content, check the accuracy of the content, and try to keep the formatting consistent.
- Fill in the modification description at the bottom of the page, then click the "Propose file change" button. After the page redirects, click the "Create pull request" button to initiate the pull request.
Figure 16-3 Edit page button
Figures cannot be directly modified and require the creation of a new Issue or a comment to describe the problem. We will redraw and replace the figures as soon as possible.
2. Content creation¶
If you are interested in participating in this open-source project, including translating code into other programming languages or expanding article content, then the following Pull Request workflow needs to be implemented.
- Log in to GitHub and Fork the code repository of this book to your personal account.
- Go to your Forked repository web page and use the
git clone
command to clone the repository to your local machine. - Create content locally and perform complete tests to verify the correctness of the code.
- Commit the changes made locally, then push them to the remote repository.
- Refresh the repository webpage and click the "Create pull request" button to initiate the pull request.
3. Docker deployment¶
In the hello-algo
root directory, execute the following Docker script to access the project at http://localhost:8000
:
Use the following command to remove the deployment: