|
1 |
| -# Contributing Guidelines |
| 1 | +# Contributing guidelines |
2 | 2 |
|
3 |
| -The following is a set of guidelines for contributing to this project. We really appreciate that you are considering contributing! |
| 3 | +The following is a set of guidelines for community contributions to this |
| 4 | +project. We really appreciate your desire to contribute! |
4 | 5 |
|
5 |
| -#### Table Of Contents |
| 6 | +If you are an F5/NGINX employee, see the following guidance [For F5/NGINX Employees](./F5-NGINX-team-notes.md). |
6 | 7 |
|
7 |
| -[Getting Started](#getting-started) |
| 8 | +## Table of contents |
8 | 9 |
|
9 |
| -[Contributing](#contributing) |
| 10 | +- [Report a Bug](#report-a-bug) |
| 11 | +- [Suggest a Feature or Enhancement](#suggest-a-feature-or-enhancement) |
| 12 | +- [Open a Discussion](#open-a-discussion) |
| 13 | +- [Submit a Pull Request](#submit-a-pull-request) |
| 14 | + - Review our [Git style guide](#git-style-guide) |
| 15 | + - Review our Documentation [style guide](./templates/style-guide.md) |
| 16 | +- [Issue Lifecycle](#issue-lifecycle) |
| 17 | +- [Content edited elsewhere](#content-edited-elsewhere) |
| 18 | +- [F5 Contributor License Agreement (CLA)](#f5-contributor-license-agreement) |
10 | 19 |
|
11 |
| -[Code Guidelines](#code-guidelines) |
| 20 | +## Report a bug |
12 | 21 |
|
13 |
| -[Code of Conduct](/CODE_OF_CONDUCT.md) |
| 22 | +To report a bug, open an issue on GitHub with the label `bug` using the |
| 23 | +available bug report issue template. Before reporting a bug, make sure the |
| 24 | +issue has not already been reported. |
14 | 25 |
|
15 |
| -## Getting Started |
| 26 | +## Suggest a feature or enhancement |
16 | 27 |
|
17 |
| -Follow the instructions on the README's [Getting Started](/README.md#Getting-Started) section to get this project up and running. |
| 28 | +To suggest a feature or enhancement, open an issue on GitHub with the label |
| 29 | +`feature` or `enhancement` using the available feature request issue template. |
| 30 | +Please ensure the feature or enhancement has not already been suggested. |
18 | 31 |
|
19 |
| -<!-- ### Project Structure (OPTIONAL) --> |
| 32 | +## Open a discussion |
20 | 33 |
|
21 |
| -## Contributing |
| 34 | +If you want to start a conversation with the community and maintainers, |
| 35 | +we encourage you to use |
| 36 | +[GitHub Discussions](https://github.com/nginxinc/oss-docs/discussions). |
22 | 37 |
|
23 |
| -### Report a Bug |
| 38 | +## Submit a Pull Request |
24 | 39 |
|
25 |
| -To report a bug, open an issue on GitHub with the label `bug` using the available bug report issue template. Please ensure the bug has not already been reported. **If the bug is a potential security vulnerability, please report it using our [security policy](/SECURITY.md).** |
| 40 | +To contribute to F5 NGINX documentation, follow these steps: |
26 | 41 |
|
27 |
| -### Suggest a Feature or Enhancement |
| 42 | +- Fork the NGINX repository |
| 43 | +- Create a branch |
| 44 | +- Implement your changes in your branch |
| 45 | +- Submit a pull request (PR) when your changes are ready for review |
28 | 46 |
|
29 |
| -To suggest a feature or enhancement, please create an issue on GitHub with the label `enhancement` using the available [feature request template](/.github/feature_request_template.md). Please ensure the feature or enhancement has not already been suggested. |
| 47 | +Alternatively, you're welcome to suggest improvements to highlight problems with |
| 48 | +our documentation as described in our [support](./SUPPORT.md) page. |
30 | 49 |
|
31 |
| -### Open a Pull Request (PR) |
| 50 | +### Git Style Guide |
32 | 51 |
|
33 |
| -- Fork the repo, create a branch, implement your changes, add any relevant tests, and submit a PR when your changes are **tested** and ready for review. |
34 |
| -- Fill in the [PR template](/.github/pull_request_template.md). |
| 52 | +- Keep a clean, concise and meaningful Git commit history on your branch, rebasing locally and squashing before you submit a PR |
| 53 | +- Follow the guidelines of writing a good commit message as described here <https://chris.beams.io/posts/git-commit/> |
| 54 | + and summarized in the next few points: |
35 | 55 |
|
36 |
| -**Note:** If you'd like to implement a new feature, please consider creating a [feature request issue](/.github/feature_request_template.md) first to start a discussion about the feature. |
| 56 | + - In the subject line, use the present tense ("Add feature" not "Added feature") |
| 57 | + - In the subject line, use the imperative mood ("Move cursor to..." not "Moves cursor to...") |
| 58 | + - Limit the subject line to 72 characters or less |
| 59 | + - Reference issues and pull requests liberally after the subject line |
| 60 | + - Add more detailed description in the body of the git message (`git commit -a` to give you more space and time in |
| 61 | + your text editor to write a good message instead of `git commit -am`) |
37 | 62 |
|
38 |
| -#### F5 Contributor License Agreement (CLA) |
| 63 | +### Documentation style guide |
39 | 64 |
|
40 |
| -F5 requires all external contributors to agree to the terms of the F5 CLA (available [here](https://github.com/f5/.github/blob/main/CLA/cla-markdown.md)) before any of their changes can be incorporated into an F5 Open Source repository. |
| 65 | +For detailed guidance, see our documentation [style guide](./templates/style-guide.md). |
41 | 66 |
|
42 |
| -If you have not yet agreed to the F5 CLA terms and submit a PR to this repository, a bot will prompt you to view and agree to the F5 CLA. You will have to agree to the F5 CLA terms through a comment in the PR before any of your changes can be merged. Your agreement signature will be safely stored by F5 and no longer be required in future PRs. |
| 67 | +## Issue lifecycle |
| 68 | + |
| 69 | +To ensure a balance between work carried out by the NGINX team while encouraging community involvement on this project, we use the following |
| 70 | +issue lifecycle: |
| 71 | + |
| 72 | +- A new issue is created by a community member |
| 73 | +- An owner on the NGINX team is assigned to the issue; this owner shepherds the issue through the subsequent stages in the issue lifecycle |
| 74 | +- The owner assigns one or more [labels](https://github.com/nginxinc/oss-docs/issues/labels) to the issue |
| 75 | +- The owner, in collaboration with the community member, determines what milestone to attach to an issue. They may be milestones correspond to product releases |
| 76 | + |
| 77 | +## Content edited elsewhere |
43 | 78 |
|
44 |
| -## Code Guidelines |
| 79 | +This repository does not include all documentation available at https://docs.nginx.com. Other relevant repositories include: |
45 | 80 |
|
46 |
| -<!-- ### Go/Python/Bash/etc... Guidelines (OPTIONAL) --> |
| 81 | +- [NGINX Open Source](https://github.com/nginx/nginx) |
| 82 | +- [NGINX Unit](https://github.com/nginx/unit) |
| 83 | +- [NGINX Ingress Controller](https://github.com/nginxinc/kubernetes-ingress/) |
| 84 | +- [NGINX Gateway Fabric](https://github.com/nginxinc/nginx-gateway-fabric) |
47 | 85 |
|
48 |
| -### Git Guidelines |
| 86 | +You can find documentation source code in the `docs` or `site` subdirectories. |
49 | 87 |
|
50 |
| -- Keep a clean, concise and meaningful git commit history on your branch (within reason), rebasing locally and squashing before submitting a PR. |
51 |
| -- If possible and/or relevant, use the [Conventional Commits](https://www.conventionalcommits.org/en/v1.0.0/) format when writing a commit message, so that changelogs can be automatically generated. |
52 |
| -- Follow the guidelines of writing a good commit message as described here <https://chris.beams.io/posts/git-commit/> and summarized in the next few points: |
53 |
| - - In the subject line, use the present tense ("Add feature" not "Added feature"). |
54 |
| - - In the subject line, use the imperative mood ("Move cursor to..." not "Moves cursor to..."). |
55 |
| - - Limit the subject line to 72 characters or less. |
56 |
| - - Reference issues and pull requests liberally after the subject line. |
57 |
| - - Add more detailed description in the body of the git message (`git commit -a` to give you more space and time in your text editor to write a good message instead of `git commit -am`). |
| 88 | +## F5 Contributor License Agreement |
| 89 | + |
| 90 | +F5 requires all external contributors to agree to the terms of the F5 CLA (available [here](https://github.com/f5/.github/blob/main/CLA/cla-markdown.md)) before any of their changes can be incorporated into an F5 Open Source repository. |
| 91 | + |
| 92 | +If you have not yet agreed to the F5 CLA terms and submit a PR to this repository, a bot will prompt you to view and agree to the F5 CLA. You will have to agree to the F5 CLA terms through a comment in the PR before any of your changes can be merged. Your agreement signature will be safely stored by F5 and no longer be required in future PRs. |
0 commit comments