2023-03-04 15:33:55 +00:00
# Contribute to Project X's Document
2021-05-26 11:05:53 +00:00
2023-03-04 15:33:55 +00:00
Contributions to Project X's Document are welcome, and we appreciate every Contributor's contribution! You guys make Xray stronger!
2021-05-26 11:05:53 +00:00
2023-03-04 15:33:55 +00:00
## Improve Document
2021-05-26 11:05:53 +00:00
2023-03-04 15:33:55 +00:00
Document for Project X is hosted on [GitHub ](https://github.com/XTLS/Xray-docs-next ).
2021-05-26 11:05:53 +00:00
2023-03-04 15:33:55 +00:00
You can submit your changes to the Document by following these steps:
2021-05-26 11:05:53 +00:00
2023-03-04 15:33:55 +00:00
1. Open the repository from [Project X Document ](https://github.com/XTLS/Xray-docs-next ), click fork in the upper right corner, fork a mirror image of the document repository to your own GitHub repository.
2021-05-26 11:05:53 +00:00
2023-03-04 15:33:55 +00:00
2. Get a clone of the docs from the repository you cloned using whatever tool you like, like:
2021-05-26 11:05:53 +00:00
```
git clone https://github.com/XTLS/Xray-docs-next.git
```
2023-03-04 15:33:55 +00:00
3. Create a new branch based on the main branch, such as:
2021-05-26 11:05:53 +00:00
```
git checkout -b your-branch
```
2023-03-04 15:33:55 +00:00
4. Make changes on the new branch.
2021-05-26 11:05:53 +00:00
2023-03-04 15:33:55 +00:00
5. After modification, please use [Prettier ](https://prettier.io/docs/en/install.html )Format your changes.
2021-05-26 11:05:53 +00:00
2023-03-04 15:33:55 +00:00
Note: Pull requests with formatting issues may be rejected.
2021-05-26 11:05:53 +00:00
2023-03-04 15:33:55 +00:00
6. Submit the changes and push them to your repository
2021-05-26 11:05:53 +00:00
```
git push -u origin your-branch
```
2023-03-04 15:33:55 +00:00
6. Open GitHub, click 'Pull request' to submit a pull request to [Project X Document ](https://github.com/XTLS/Xray-docs-next ).
2021-05-26 11:05:53 +00:00
2023-03-04 15:33:55 +00:00
7. Please outline the new/modified content of this pull request in the title and body of the pull request;
2021-05-26 11:05:53 +00:00
2023-03-04 15:33:55 +00:00
8. Waiting for a response, if the pull request is merged, your changes will be directly displayed on [Project X Document Website ](https://xtls.github.io ).
2021-05-26 11:05:53 +00:00
2023-03-04 15:33:55 +00:00
## Found Problems?
2021-05-26 11:05:53 +00:00
2023-03-04 15:33:55 +00:00
If you find an error in the document, you can improve the documentation or submit an issue.