Skip to content

Commit 6150cbf

Browse files
authored
Merge pull request #26 from status-im/develop
Add README.md and other fixes
2 parents 3e7cea7 + 301e2c6 commit 6150cbf

File tree

5 files changed

+76
-49
lines changed

5 files changed

+76
-49
lines changed

CONTRIBUTING.md

Lines changed: 41 additions & 46 deletions
Original file line numberDiff line numberDiff line change
@@ -1,47 +1,45 @@
1-
# CONTRIBUTING.md
2-
3-
## Welcome to the Status documentation contributing guide
1+
# Welcome to the Status documentation contributing guide
42

53
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).
64

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.
86

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.
108
119
## Types of contributions
1210

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).
1412

15-
We provide the following ways to contribute:
13+
There are several ways to contribute to the project:
1614

1715
### GitHub issues
1816

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.
2018

2119
Issues without a `triage` label are pending review, and you shouldn't begin work on them.
2220

2321
### Pull request
2422

2523
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.
2624

27-
You can submit a pull request from a topic in the Status documentation using the edit ![edit](./overrides/assets/icons/edit_black_24dp.svg) 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 ![edit](./overrides/assets/icons/edit_black_24dp.svg) 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.
2826

2927
### How we work with issues or pull requests
3028

3129
Consider this information:
3230

3331
- We prioritize issues or pull requests related to documentation errors over the rest.
3432
- 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.
3735

3836
### Feedback form
3937

40-
> The feedback form for Status documentation will be available soon.
38+
> The feedback form for the Status documentation will be available soon.
4139
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.
4341

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).
4543

4644
## Support
4745

@@ -53,13 +51,13 @@ If you find an error using the Status app please, don't open a documentation iss
5351

5452
## About Status docs translations
5553

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.
5755

58-
## How to contribute
56+
## Contribute using a pull request
5957

6058
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.
6159

62-
### TL;DR:
60+
### Summary
6361

6462
- [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.
6563
- 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
7270
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.
7371

7472
1. Using the terminal, go to the directory where you want to clone the Status documentation repository.
75-
2. Fork and clone the repository:
73+
1. Fork and clone the repository:
7674

7775
`gh repo fork 'status-im/help.status.im' --remote --clone=true`
7876

79-
8077
### 2. Create a topic branch and commit changes to your own branch
8178

8279
1. Update your local `develop` branch with the latest changes from `upstream`:
8380

8481
`git pull upstream develop`
82+
8583
`git push origin develop`
8684

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
8886

89-
`git checkout -b *feature-branch-name* develop`
87+
`git checkout -b your-topic-branch-name develop`
9088

91-
9289
> 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`.
9390
94-
3. Using the editor of your choice, write the required changes.
91+
1. Using the editor of your choice, write the required changes.
9592

9693
> If you have doubts about how to write something, check the [Status style guide]().
9794
@@ -100,16 +97,16 @@ To understand how a repository fork works, see [About forks](https://docs.github
10097
You can test your proposed changes using MkDocs live preview.
10198

10299
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:
105102

106103
`mkdocs serve`
107104

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:
109106

110107
`INFO - [13:48:18] Serving on [http://127.0.0.1:8000/help/en/](http://127.0.0.1:8000/help/en/)`
111108

112-
5. Open your browser and enter the URL.
109+
1. Open your browser and enter the URL.
113110

114111
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.
115112

@@ -119,40 +116,39 @@ With the Mkdocs live preview server, you can preview your changes as you write y
119116

120117
`git add .`
121118

122-
2. Commit your changes with a description of what's included:
119+
1. Commit your changes with a description of what's included:
123120

124-
`git commit -m "*description of the changes*"`
121+
`git commit -m "description of your changes"`
125122

126-
3. Set the `upstream` to push your changes:
123+
1. Set the `upstream` to push your changes:
127124

128-
`git push --set-upstream origin *topic-branch-name*`
125+
`git push --set-upstream origin your-topic-branch-name`
129126

130-
4. If you need to add more changes, you don't need to set the `upstream` branch:
127+
1. If you need to add more changes, you don't need to set the `upstream` branch again:
131128

132129
`git push`
133130

134-
135-
### 6. Submit a pull request
131+
### 6. Submit your pull request
136132

137133
1. Create a pull request with your proposed changes:
138134

139-
`gh pr create --base develop --title "*pull request title*"`
135+
`gh pr create --base develop --title "your pull request title"`
140136

141-
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`:
142138

143139
```bash
144140
? Which should be the base repository (used for e.g. querying issues) for this directory? [Use arrows to move, type to filter]
145141
> **status-im/help.status.im**
146-
jorge-campo/help.status.im
142+
github-user/help.status.im
147143
```
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:
150146

151147
`? Body [(e) to launch nano, enter to skip]`
152148

153149
> You can also skip this step and add the pull request description using the GitHub webpage.
154150

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:
156152
157153
```bash
158154
? 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
162158
Cancel
163159
```
164160

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.
167163

168164
### 7. What's next?
169165

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).
173168

174-
Congratulations on making it this far! The Status team thanks you.
169+
Congratulations on making it this far! The Status team thanks you.

README.md

Lines changed: 35 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,35 @@
1-
# help.status.im
2-
Status app user documentation
1+
# Status user documentation
2+
3+
![Status Help illustration](./overrides/assets/images/status-help-image.png)
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 ![Edit button](./overrides/assets/icons/edit_black_24dp.svg) 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).

mkdocs.yml

Lines changed: 0 additions & 1 deletion
This file was deleted.
28 KB
Loading
-3.22 KB
Binary file not shown.

0 commit comments

Comments
 (0)