|
| 1 | +## Contributing |
| 2 | + |
| 3 | +We value your documentation contributions, and we want to make it as easy |
| 4 | +as possible to work in this repository. One of the first things to decide is |
| 5 | +which branch to base your work on. If you get confused, just ask and we will |
| 6 | +help. If a reviewer realizes you have based your work on the wrong branch, we'll |
| 7 | +let you know so that you can rebase it. |
| 8 | + |
| 9 | +>**Note**: To contribute code to Docker projects, see the |
| 10 | +[Contribution guidelines](opensource/project/who-written-for). |
| 11 | + |
| 12 | +### Quickstart |
| 13 | + |
| 14 | +If you spot a problem while reading the documentation and want to try to fix it |
| 15 | +yourself, click the **Edit this page** link at the bottom of that page. The |
| 16 | +page will open in the Github editor, which means you don't need to know a lot |
| 17 | +about Git, or even about Markdown. |
| 18 | + |
| 19 | +When you save, you will be prompted to create a fork if you don't already have |
| 20 | +one, and to create a branch in your fork and submit the pull request. We hope |
| 21 | +you give it a try! |
| 22 | + |
| 23 | +### Overall doc improvements |
| 24 | + |
| 25 | +Most commits will be made against the `master` branch. This include: |
| 26 | + |
| 27 | +- Conceptual and task-based information not specific to new features |
| 28 | +- Restructuring / rewriting |
| 29 | +- Doc bug fixing |
| 30 | +- Typos and grammar errors |
| 31 | + |
| 32 | +One quirk of this project is that the `master` branch is where the live docs are |
| 33 | +published from, so upcoming features can't be documented there. See |
| 34 | +[Specific new features for a project](#specific-new-features-for-a-project) |
| 35 | +for how to document upcoming features. These feature branches will be periodically |
| 36 | +merged with `master`, so don't worry about fixing typos and documentation bugs |
| 37 | +there. |
| 38 | + |
| 39 | +>Do you enjoy creating graphics? Good graphics are key to great documentation, |
| 40 | +and we especially value contributions in this area. |
| 41 | + |
| 42 | +### Specific new features for a project |
| 43 | + |
| 44 | +Our docs cover many projects which release at different times. **If, and only if, |
| 45 | +your pull request relates to a currently unreleased feature of a project, base |
| 46 | +your work on that project's `vnext` branch.** These branches were created by |
| 47 | +cloning `master` and then importing a project's `master` branch's docs into it |
| 48 | +(at the time of the migration), in a way that preserved the commit history. When |
| 49 | +a project has a release, its `vnext` branch will be merged into `master` and your |
| 50 | +work will be visible on docs.docker.com. |
| 51 | + |
| 52 | +The following `vnext` branches currently exist: |
| 53 | + |
| 54 | +- **[vnext-engine](https://github.com/docker/docker.github.io/tree/vnext-engine):** |
| 55 | + docs for upcoming features in the [docker/docker](https://github.com/docker/docker/) |
| 56 | + project |
| 57 | + |
| 58 | +- **[vnext-compose](https://github.com/docker/docker.github.io/tree/vnext-compose):** |
| 59 | + docs for upcoming features in the [docker/compose](https://github.com/docker/compose/) |
| 60 | + project |
| 61 | + |
| 62 | +- **[vnext-distribution](https://github.com/docker/docker.github.io/tree/vnext-distribution):** |
| 63 | + docs for upcoming features in the [docker/distribution](https://github.com/docker/distribution/) |
| 64 | + project |
| 65 | + |
| 66 | +- **[vnext-opensource](https://github.com/docker/docker.github.io/tree/vnext-opensource):** |
| 67 | + docs for upcoming features in the [docker/opensource](https://github.com/docker/opensource/) |
| 68 | + project |
| 69 | + |
| 70 | +- **[vnext-swarm](https://github.com/docker/docker.github.io/tree/vnext-swarm):** |
| 71 | + docs for upcoming features in the [docker/swarm](https://github.com/docker/swarm/) |
| 72 | + project |
| 73 | + |
| 74 | +- **[vnext-toolbox](https://github.com/docker/docker.github.io/tree/vnext-toolbox):** |
| 75 | + docs for upcoming features in the [docker/toolbox](https://github.com/docker/toolbox/) |
| 76 | + project |
| 77 | + |
| 78 | +- **[vnext-kitematic](https://github.com/docker/docker.github.io/tree/vnext-kitematic):** |
| 79 | + docs for upcoming features in the [docker/kitematic](https://github.com/docker/kitematic/) |
| 80 | + project |
| 81 | + |
| 82 | +## Style guide |
| 83 | + |
| 84 | +If you have questions about how to write for Docker's documentation, please see |
| 85 | +the [style guide](https://docs.docker.com/opensource/doc-style/). The style guide provides |
| 86 | +guidance about grammar, syntax, formatting, styling, language, or tone. If |
| 87 | +something isn't clear in the guide, please submit an issue to let us know or |
| 88 | +submit a pull request to help us improve it. |
0 commit comments