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
Copy file name to clipboardExpand all lines: CONTRIBUTING.md
+22-13Lines changed: 22 additions & 13 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,36 +1,45 @@
1
1
# Contributing to the Raspberry Pi Documentation
2
2
3
-
The Raspberry Pi Documentation website is built from Asciidoc source using:
3
+
Welcome to the [public repository](https://github.com/raspberrypi/documentation/) for the Raspberry Pi documentation. This repository contains the Asciidoc source and the Jekyll-based build tools for the HTML documentation hosted at the [Raspberry Pi documentation site](https://www.raspberrypi.com/documentation/).
The public repository is a mirror of an internal repository from which the site is built. The master branch of this repository is automatically kept up to date with the latest published content on the [website](https://www.raspberrypi.com/documentation/).
9
6
10
-
The website automatically deploys to [www.raspberrypi.com/documentation](https://www.raspberrypi.com/documentation) using GitHub Actions when new commits appear in the `master` branch.
7
+
We encourage and value all types of contributions from our community. Please make sure to read the following section before making your contribution. It makes it a lot easier for the Raspberry Pi Technical Documentation team (the maintainers) and smooths out the experience for all involved. We look forward to your contributions.
11
8
12
9
## Contribute
13
10
14
-
To contribute or update documentation:
11
+
To suggest changes to this documentation:
15
12
16
-
1. Create a fork of this repository on your GitHub account.
13
+
1. Create a fork of the `raspberrypi/documentation` repository on your GitHub account.
17
14
18
-
1. Make changes in your fork. Start from the default `develop` branch.
15
+
1. Make changes in your fork. Start by branching from the default `master` branch.
19
16
20
17
1. Read our [style guide](https://github.com/raspberrypi/style-guide/blob/master/style-guide.md) to ensure that your changes are consistent with the rest of our documentation. Since Raspberry Pi is a British company, be sure to include all of your extra `u`s and transfigure those `z`s (pronounced 'zeds') into `s`s!
21
18
22
19
1.[Open a pull request](https://docs.github.com/en/github/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/creating-a-pull-request-from-a-fork) against this repository.
23
20
24
-
1. The maintainers will assess and copy-edit the PR. This can take anywhere from a few minutes to a few days, depending on the size of your PR, the time of year, and the availability of the maintainers.
21
+
1. The maintainers assess the PR. We hope to get back to you within a fortnight, but this might vary depending on the size of your PR, the time of year, and the availability of the maintainers.
25
22
26
-
1.After making any requested improvements to your PR, the maintainers will accept the PR and merge your changes into `develop`.
23
+
1.What happens next depends on the content of the PR and whether it inspires any wider changes:
27
24
28
-
1. When the maintainers next release the documentation by merging `develop` into `master`, your changes will go public on the production documentation site.
25
+
* If we have questions about the PR, we work with you to understand what you are going for and how best the docs can achieve it.
26
+
* If your PR can be included as-is, we use the patch mechanism to bring it across to the internal repository and commit it there. When the change is published on the Raspberry Pi Documentation website, it is mirrored to the public repository and your PR closes automatically.
27
+
* If your PR needs significant editing or prompts a wider change to the documentation, we take on that work in our internal repository. We'll let you know if that's the case and how long we expect it to take.
28
+
If we don't bring your initial changes over as a patch, we use the [co-author mechanism](https://docs.github.com/en/pull-requests/committing-changes-to-your-project/creating-and-editing-commits/creating-a-commit-with-multiple-authors) to ensure you get credit for your contribution.
29
29
30
30
Alternatively, [open an issue](https://github.com/raspberrypi/documentation/issues) to discuss proposed changes.
31
31
32
32
## Build
33
33
34
+
The Raspberry Pi Documentation website is built from Asciidoc source using:
The website deploys to [www.raspberrypi.com/documentation](https://www.raspberrypi.com/documentation) from an internal repository that is mirrored to the [public repository](https://github.com/raspberrypi/documentation/).
42
+
34
43
### Install dependencies
35
44
36
45
To build the Raspberry Pi documentation locally, you'll need Ruby, Python, and the Ninja build system.
@@ -54,7 +63,7 @@ Close and re-launch your terminal window to use the new dependencies and configu
54
63
55
64
#### macOS
56
65
57
-
If you don't already have it, we recommend installing the [Homebrew](https://brew.sh/) package manager:
66
+
If you don't already have it, we recommend installing the [Homebrew](https://brew.sh/) package manager:
@@ -19,4 +19,4 @@ This repository contains the source and tools used to build the [Raspberry Pi Do
19
19
20
20
## Licence
21
21
22
-
The Raspberry Pi documentation is [licensed](https://github.com/raspberrypi/documentation/blob/develop/LICENSE.md) under a Creative Commons Attribution-ShareAlike 4.0 International (CC BY-SA). Documentation tools (everything outside of the `documentation/` subdirectory) are licensed under the [BSD 3-Clause](https://opensource.org/licenses/BSD-3-Clause) licence.
22
+
The Raspberry Pi documentation is [licensed](https://github.com/raspberrypi/documentation/blob/master/LICENSE.md) under a Creative Commons Attribution-ShareAlike 4.0 International (CC BY-SA). Documentation tools (everything outside of the `documentation/` subdirectory) are licensed under the [BSD 3-Clause](https://opensource.org/licenses/BSD-3-Clause) licence.
0 commit comments