documentation-contribution.md 4.0 KB
Newer Older
Z
zengyawen 已提交
1
# Documentation Contribution
W
wenjun 已提交
2

W
wusongqing 已提交
3
You are welcome to make contributions to OpenHarmony documentation, in any of the methods provided below. You can help us improve the existing documents or submit new, original content.
W
wenjun 已提交
4 5 6

Excellent contributors will be awarded and the contributions will be publicized in the developer community.

Z
zengyawen 已提交
7
-   [Contribution Methods](#contribution-methods)
W
wenjun 已提交
8 9
-   [Writing Instructions](writing-instructions.md)

Z
zengyawen 已提交
10
## Content Copyright
W
wenjun 已提交
11

W
wusongqing 已提交
12
The content and images submitted by you must be original and must not infringe others' intellectual property rights.
W
wenjun 已提交
13

W
wusongqing 已提交
14
OpenHarmony has the right to modify the adopted content according to the community regulations and specifications.
W
wenjun 已提交
15

Z
zengyawen 已提交
16
## License
W
wenjun 已提交
17 18 19

[Creative Commons License version 4.0](https://creativecommons.org/licenses/by/4.0/legalcode)

W
wusongqing 已提交
20
## Contribution Methods
W
wenjun 已提交
21

Z
zengyawen 已提交
22
### Submitting Issues for Existing Documents
W
wenjun 已提交
23

W
wusongqing 已提交
24
Your feedback matters. Submit issues and leave as detailed information as possible, so we can better fix the issues and improve our documents.
W
wenjun 已提交
25

W
wusongqing 已提交
26 27
1.  On the Gitee page, click the **Issues** tab. On the displayed page, click **New issue**. Then enter the issue title and issue details.
2.  Click **New** to submit the issue. The Docs team will confirm the issue.
W
wenjun 已提交
28

S
shawn_he 已提交
29 30 31
> **NOTE**
> 
> **How can I provide a high-quality issue?**  
G
Gloria 已提交
32
>
S
shawn_he 已提交
33 34 35 36 37
> -   Provide a clear description of the issue, including the missing, outdated, incorrect, or to-be-improved content.
> -   Explain the impact of this issue on users.
> -   Limit the scope of the given issue to a specific task. If multiple fields are involved, break the issue down into smaller ones. For example, "Documents need to be optimized" is a broad issue, whereas "XX development guide lacks introduction to step XXX" is specific and operable.
> -   Search the list of existing issues to see if any related or similar issues have been submitted.
> -   If an issue is associated with another issue or a pull request (PR), you can use its full URL or the combination of the number sign (#) and PR number to reference it.
W
wenjun 已提交
38

Z
zengyawen 已提交
39
### Editing Existing Documents
W
wenjun 已提交
40

W
wusongqing 已提交
41
You can perform the following steps to modify or supplement a file:
W
wenjun 已提交
42

W
wusongqing 已提交
43 44 45 46
1.  In the upper right corner of the document page, click **Edit** to go to the source file page in the Gitee project.
2.  On the page of the source file in .md format, modify or supplement the file.
3.  After the modification, click **Preview** to confirm the modification result.
4.  Enter your comments, supplementary information, and Signed-off-by information in the **Extended Information** text box, and click **Commit**.
W
wenjun 已提交
47

W
wusongqing 已提交
48
    Format of Signed-off-by information is as follows:
W
wenjun 已提交
49

W
wusongqing 已提交
50
    Signed-off-by: user.name <user.email> // Note that *user.name* and *user.email* must be the same as those used for DCO signing.
W
wenjun 已提交
51

Z
zengyawen 已提交
52
![](figures/Signed-off-by-example.png)
W
wusongqing 已提交
53

Z
zengyawen 已提交
54
The Docs team will review your edits and update the file accordingly.
W
wusongqing 已提交
55 56 57 58 59 60 61


For more information, see [Contribution Process](contribution-process.md).

### Contributing Documents to a Release

To help developers efficiently use each release, OpenHarmony provides related documents (such as development guidelines, API reference, codelabs, release notes, API changelog, and FAQs) based on the requirements planned for the release. Some requirements involve new features and documents, and some require updates to the existing features and documents.
W
wenjun 已提交
62

W
wusongqing 已提交
63
You are welcome to contribute documents to the release. For details, see [Writing Documents for a Release](docs-release-process.md).
W
wenjun 已提交
64

Z
zengyawen 已提交
65
### Sharing Experience
W
wenjun 已提交
66

W
wusongqing 已提交
67
You are welcome to share your experience and expertise with other developers to help them get started. For example, you can contribute tutorials and FAQs by using the following templates:
W
wenjun 已提交
68

W
wusongqing 已提交
69 70
-   [Tutorial Template](https://gitee.com/openharmony/docs/blob/master/en/contribute/template/tutorial-template.md). You can contribute tutorials in the `contribute/tutorial` folder.
-   [FAQ Template](https://gitee.com/openharmony/docs/blob/master/en/contribute/template/faq-template.md). You can contribute FAQs in the `contribute/faqs` folder.
W
wenjun 已提交
71

W
wusongqing 已提交
72
More writing templates are available in the **contribute** folder in the **Docs** repository.