You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
## Welcome to the Status documentation contributing guide
1
+
# Welcome to the Status documentation contributing guide
4
2
5
3
Thank you for investing your time in contributing to our project! Any contribution you make will be reflected on [help.status.im](https://help.status.im).
6
4
7
-
This guide provides an overview of the different contributions and the contribution workflow. Read the [Status Code of Conduct](https://people-ops.status.im/code-of-conduct/) to keep this place approachable and respectable.
5
+
This guide provides an overview of the different types of contributions and the contribution workflow. Read the [Status Code of Conduct](https://people-ops.status.im/code-of-conduct/) to keep this place approachable and respectable.
8
6
9
-
> TL;DR: if you know what to do, skip to the [How to contribute](#how-to-contribute)
7
+
> TL;DR: if you know what to do, skip to the [Contribute using a pull request](#contribute-using-a-pull-request) section.
10
8
11
9
## Types of contributions
12
10
13
-
We accept different contributions, including some that don't require you to use a GitHub account. Independently of how you contribute, your contribution is considered a documentation issue and included in the [Status documentation project](https://github.com/orgs/status-im/projects/71) at GitHub.
11
+
We accept different contributions, including some that don't require you to use a GitHub account. Independently of how you contribute, your contribution is considered a documentation issue and included in the [Status documentation project](https://github.com/orgs/status-im/projects/71).
14
12
15
-
We provide the following ways to contribute:
13
+
There are several ways to contribute to the project:
16
14
17
15
### GitHub issues
18
16
19
-
You can create a new issue or solve [an existing one](https://github.com/status-im/help.status.im/issues) via [pull request](https://docs.github.com/en/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/creating-a-pull-request-from-a-fork). If you work on an existing documentation issue, [submit a pull request](https://www.notion.so/CONTRIBUTING-md-3e01223cb2f14df79dd064c6aa965aca), and link the pull request to the issue on the GitHub website.
17
+
You can create a [new issue](https://github.com/status-im/help.status.im/issues/new/choose) or solve [an existing one](https://github.com/status-im/help.status.im/issues) via [pull request](https://docs.github.com/en/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/creating-a-pull-request-from-a-fork). If you work on an existing documentation issue, [submit a pull request](#contribute-using-a-pull-request), and link the pull request to the issue on the GitHub website.
20
18
21
19
Issues without a `triage` label are pending review, and you shouldn't begin work on them.
22
20
23
21
### Pull request
24
22
25
23
A pull request is a way to suggest changes in our documentation repository. If you spot an inaccuracy in our docs or you would like to submit additional content, use this method.
26
24
27
-
You can submit a pull request from a topic in the Status documentation using the edit  button. This is the preferred method for small fixes or typos. If you want to contribute with new content, submit a pull request following the [How to contribute](https://www.notion.so/CONTRIBUTING-md-3e01223cb2f14df79dd064c6aa965aca) section steps.
25
+
You can submit a pull request from a topic in the Status documentation using the edit  button. This is the preferred method for small fixes or typos. If you want to contribute with new content, submit a pull request following the [Contribute using a pull request](#contribute-using-a-pull-request) section steps.
28
26
29
27
### How we work with issues or pull requests
30
28
31
29
Consider this information:
32
30
33
31
- We prioritize issues or pull requests related to documentation errors over the rest.
34
32
- We triage your issue or pull request after submission and assign the `triage` label to it.
35
-
- Issues or pull requests that don't fit into a technical documentation criterion are discarded with the `invalid` label.
36
-
- Issues or pull requests outside of the scope of the Status user documentation project are discarded with the `wontfix` label.
33
+
- Issues or pull requests that don't fit into a technical documentation criterion will be discarded with the `invalid` label.
34
+
- Issues or pull requests outside of the scope of the Status user documentation project will be discarded with the `wontfix` label.
37
35
38
36
### Feedback form
39
37
40
-
> The feedback form for Status documentation will be available soon.
38
+
> The feedback form for the Status documentation will be available soon.
41
39
42
-
Use the Status documentation feedback form if you don't have a GitHub account. While GitHub provides a more accessible and more straightforward to solve documentation issues or suggest new content, we recognize that not every reader of our docs owns a GitHub account or knows how to use the GitHub workflow.
40
+
Use the Status documentation feedback form if you don't have a GitHub account. While GitHub provides a more straightforward way to solve documentation issues or suggest new content, we recognize that not every reader of our docs owns a GitHub account or knows how to use the GitHub workflow.
43
41
44
-
When using our feedback form, you must use your Status username or email address. Once your suggestion is submitted, we create a new [GitHub issue](https://www.notion.so/CONTRIBUTING-md-3e01223cb2f14df79dd064c6aa965aca). Before submitting a suggestion using the feedback form, search if [an issue already exists](https://github.com/status-im/help.status.im/issues).
42
+
When using our feedback form, you must use your Status username or email address. Once your suggestion is submitted, we create a new [GitHub issue](https://github.com/status-im/help.status.im/issues). Before submitting a suggestion using the feedback form, search if [an issue already exists](https://github.com/status-im/help.status.im/issues).
45
43
46
44
## Support
47
45
@@ -53,13 +51,13 @@ If you find an error using the Status app please, don't open a documentation iss
53
51
54
52
## About Status docs translations
55
53
56
-
We are an international team with contributors and users from all over the world. Therefore, we know that providing documentation in multiple languages is crucial. Unfortunately, as a small team, we're unable to provide translator tools for our content or add translations to our docs at this time.
54
+
We are an international team with contributors and users from all over the world. Therefore, we know that providing documentation in multiple languages is crucial. Unfortunately, as a small team, we're unable to provide a translation workflow or add translations to our docs at this time.
57
55
58
-
## How to contribute
56
+
## Contribute using a pull request
59
57
60
58
Here you can find a step-by-step guide to make changes to our docs. This process describes the git and [GitHub CLI](https://docs.github.com/en/github-cli/github-cli/about-github-cli) instructions.
61
59
62
-
### TL;DR:
60
+
### Summary
63
61
64
62
-[Fork](https://docs.github.com/en/get-started/quickstart/fork-a-repo#fork-an-example-repository) and [clone](https://docs.github.com/en/repositories/creating-and-managing-repositories/cloning-a-repository) the `status-im/help.status.im` repository.
65
63
- Use the `develop` branch to create your topic branch.
@@ -72,26 +70,25 @@ Here you can find a step-by-step guide to make changes to our docs. This process
72
70
To understand how a repository fork works, see [About forks](https://docs.github.com/en/pull-requests/collaborating-with-pull-requests/working-with-forks/about-forks) in the GitHub documentation.
73
71
74
72
1. Using the terminal, go to the directory where you want to clone the Status documentation repository.
### 2. Create a topic branch and commit changes to your own branch
81
78
82
79
1. Update your local `develop` branch with the latest changes from `upstream`:
83
80
84
81
`git pull upstream develop`
82
+
85
83
`git push origin develop`
86
84
87
-
2. Using the `develop` branch, create a topic branch to include your changes
85
+
1. Using the `develop` branch, create a topic branch to include your changes
88
86
89
-
`git checkout -b *feature-branch-name* develop`
87
+
`git checkout -b your-topic-branch-name develop`
90
88
91
-
92
89
> Use a descriptive name for your feature branch, separating words with dashes. If you know the issue number, include this in the branch name. Examples: `fix-typo-on-creating-status-communities`, `#133-wrong-table-values`.
93
90
94
-
3. Using the editor of your choice, write the required changes.
91
+
1. Using the editor of your choice, write the required changes.
95
92
96
93
> If you have doubts about how to write something, check the [Status style guide]().
97
94
@@ -100,16 +97,16 @@ To understand how a repository fork works, see [About forks](https://docs.github
100
97
You can test your proposed changes using MkDocs live preview.
101
98
102
99
1.[Install Material for MkDocs](https://squidfunk.github.io/mkdocs-material/getting-started/) on your computer.
103
-
2. Using the terminal, change to the site configuration directory for your language. For example, if you're changing content under the English folder, go to the `config/en`directory in the `help.status.im` folder repository.
104
-
3. Run the live preview server:
100
+
1. Using the terminal, change to the site configuration directory for your language. For example, if you're changing content under the `doc/en` directory, go to the `config/en` in the `help.status.im` repository.
101
+
1. Run the live preview server:
105
102
106
103
`mkdocs serve`
107
104
108
-
4. The output of this command shows a URL with the IP address and port where the live preview server is running. Example:
105
+
1. The output of this command shows a URL with the IP address and port where the live preview server is running. Example:
109
106
110
107
`INFO - [13:48:18] Serving on [http://127.0.0.1:8000/help/en/](http://127.0.0.1:8000/help/en/)`
111
108
112
-
5. Open your browser and enter the URL.
109
+
1. Open your browser and enter the URL.
113
110
114
111
With the Mkdocs live preview server, you can preview your changes as you write your documentation. The server will automatically rebuild the site upon saving.
115
112
@@ -119,40 +116,39 @@ With the Mkdocs live preview server, you can preview your changes as you write y
119
116
120
117
`git add .`
121
118
122
-
2. Commit your changes with a description of what's included:
119
+
1. Commit your changes with a description of what's included:
2. If prompted for the base repository, select `status-im/help.status.im`:
137
+
1. If prompted for the base repository, select `status-im/help.status.im`:
142
138
143
139
```bash
144
140
? Which should be the base repository (used for e.g. querying issues) for this directory? [Use arrows to move, type to filter]
145
141
>**status-im/help.status.im**
146
-
jorge-campo/help.status.im
142
+
github-user/help.status.im
147
143
```
148
-
149
-
3. When asked for the **Body**, type`e` to launch the default terminal editor. Include a description of the proposed changes:
144
+
145
+
1. When asked for the **Body**, type`e` to launch the default terminal editor. Include a description of the proposed changes:
150
146
151
147
`? Body [(e) to launch nano, enter to skip]`
152
148
153
149
> You can also skip this step and add the pull request description using the GitHub webpage.
154
150
155
-
4. In the **What's next** question, select `Submit`:
151
+
1. In the **What's next** question, select `Submit` to submit your pull request, or `Continue in browser` to finish your pull request in the GitHub webiste:
156
152
157
153
```bash
158
154
? What's next? [Use arrows to move, type to filter]
@@ -162,13 +158,12 @@ With the Mkdocs live preview server, you can preview your changes as you write y
162
158
Cancel
163
159
```
164
160
165
-
5. On the GitHub website, enable the checkbox to [allow maintainer edits](https://docs.github.com/en/github/collaborating-with-issues-and-pull-requests/allowing-changes-to-a-pull-request-branch-created-from-a-fork) for the pull request
166
-
so the branch can be updated for a merge.
161
+
1. On the GitHub website, enable the checkbox to [allow maintainer edits](https://docs.github.com/en/github/collaborating-with-issues-and-pull-requests/allowing-changes-to-a-pull-request-branch-created-from-a-fork) for the pull request so the branch can be updated for a merge.
162
+
1. If your pull request is related to an existing issue, [link the pull request to the issue](https://docs.github.com/en/issues/tracking-your-work-with-issues/linking-a-pull-request-to-an-issue#manually-linking-a-pull-request-to-an-issue) on the GitHub website.
167
163
168
164
### 7. What's next?
169
165
170
-
1. If your pull request is related to an existing issue, link the pull request to the issue on the GitHub website.
171
-
2. We may ask for changes to be made before a PR can be merged, either using [suggested changes](https://docs.github.com/en/github/collaborating-with-issues-and-pull-requests/incorporating-feedback-in-your-pull-request) or pull request comments.
172
-
3. As you update your PR and apply changes, mark each conversation as [resolved](https://docs.github.com/en/github/collaborating-with-issues-and-pull-requests/commenting-on-a-pull-request#resolving-conversations).
166
+
1. We may ask for changes to be made before a PR can be merged, either using [suggested changes](https://docs.github.com/en/github/collaborating-with-issues-and-pull-requests/incorporating-feedback-in-your-pull-request) or pull request comments.
167
+
1. As you update your PR and apply changes, mark each conversation as [resolved](https://docs.github.com/en/github/collaborating-with-issues-and-pull-requests/commenting-on-a-pull-request#resolving-conversations).
173
168
174
-
Congratulations on making it this far! The Status team thanks you.
169
+
Congratulations on making it this far! The Status team thanks you.

4
+
5
+
This repository contains the documentation website code and Markdown source files for [help.status.im](https://help.status.im).
6
+
7
+
We use [Material for MkDocs](https://squidfunk.github.io/mkdocs-material/) to build the user documentation site.
8
+
9
+
## Repository branches and git workflow
10
+
11
+
This repository uses a simplified version of the Gitflow git branching model from [Vicent Driessen](https://nvie.com/posts/a-successful-git-branching-model/):
12
+
13
+
- The `master` branch stores the official release history, and the `develop` branch serves as an integration branch for new content or fixes.
14
+
- The `develop` branch contains the complete history of the documentation project, whereas the `master` branch contains an abridged version.
15
+
- Each new content should reside in its own topic branch. Topic branches use `develop` as their parent branch.
16
+
- New content and fixes become part of the `develop` branch via [pull request collaboration](https://docs.github.com/en/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/creating-a-pull-request-from-a-fork). When a feature is complete, it gets merged back into `develop`.
17
+
- Once `develop` has acquired enough content for a release, we merge the develop branch into `master`.
18
+
19
+
The [Status' Docs team](https://github.com/orgs/status-im/teams/docs) works adding new content and fixes into the develop branch, and periodically merging updates with the master branch. You can keep track of the different documentation updates in the [releases](https://github.com/status-im/help.status.im/releases) page.
20
+
21
+
## Contributing
22
+
23
+
See the [contributing guide](https://github.com/status-im/help.status.im/blob/master/CONTRIBUTING.md) for detailed instructions on how to collaborate with our project.
24
+
25
+
We accept different types of contributions, including some that don't require you to deal with git or GitHub.
26
+
27
+
On every article in the Status user documentation, you can click the edit  button to open a pull request for quick fixes like typos, updates, or link fixes.
28
+
29
+
For more complex contributions, you can [open an issue](https://github.com/status-im/help.status.im/issues/new/choose) using the most appropriate issue template to describe the changes you'd like to see.
30
+
31
+
If you're looking for a way to contribute, you can scan through [our existing issues](https://github.com/status-im/help.status.im/issues) for something to work on. When ready, check our [contributing guide](https://github.com/status-im/help.status.im/blob/master/CONTRIBUTING.md) for detailed instructions.
32
+
33
+
## License
34
+
35
+
The Status user documentation is licensed under the MIT license. The Material for MkDocs components of our documentation are licensed under the [Material for MkDocs license](https://github.com/squidfunk/mkdocs-material/blob/master/LICENSE).
0 commit comments