Skip to content

Commit c2eaa6a

Browse files
authored
Merge branch 'main' into remove-call-out
2 parents 8306374 + c2d0d23 commit c2eaa6a

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

42 files changed

+393
-228
lines changed

.github/ISSUE_TEMPLATE/1-feature_request.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
name: Feature request
33
about: Suggest an idea for this project
44
title: ""
5-
labels: ""
5+
labels: "enhancement"
66
assignees: ""
77
---
88

.github/ISSUE_TEMPLATE/2-bug_report.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
name: Bug report
33
about: Create a report to help us improve
44
title: ""
5-
labels: ""
5+
labels: "bug"
66
assignees: ""
77
---
88

.github/pull_request_template.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,10 +26,10 @@ Before merging a pull request, run through this checklist and mark each as compl
2626
- [ ] I have rebased my branch onto main
2727
- [ ] I have ensured my PR is targeting the main branch and pulling from my branch from my own fork
2828
- [ ] I have ensured that the commit messages adhere to [Conventional Commits](https://www.conventionalcommits.org/en/v1.0.0/#summary)
29-
- [ ] I have ensured that documentation content adheres to [the style guide](https://github.com/nginx/documentation/blob/main/templates/style-guide.md)
29+
- [ ] I have ensured that documentation content adheres to [the style guide](/documentation/style-guide.md)
3030
- [ ] If the change involves potentially sensitive changes[^1], I have assessed the possible impact
3131
- [ ] If applicable, I have added tests that prove my fix is effective or that my feature works
3232
- [ ] I have ensured that existing tests pass after adding my changes
33-
- [ ] If applicable, I have updated [`README.md`](https://github.com/nginx/documentation/blob/main/README.md) and [`CHANGELOG.md`](https://github.com/nginx/documentation/blob/main/CHANGELOG.md)
33+
- [ ] If applicable, I have updated [`README.md`](/README.md)
3434

35-
[^1]: Potentially sensitive changes include anything involving code, personally identify information (PII), live URLs or significant amounts of new or revised documentation. Please refer to [our style guide](https://github.com/nginx/documentation/blob/main/templates/style-guide.md) for guidance about placeholder content.
35+
[^1]: Potentially sensitive changes include anything involving code, personally identify information (PII), live URLs or significant amounts of new or revised documentation. Please refer to [our style guide](/documentation/style-guide.md) for guidance about placeholder content.

.github/workflows/linkchecker.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ env:
3131
--ignore-url ^https://lightstep.com --ignore-url ^https://www.owasp.org/ --ignore-url ^https://www.maxmind.com --ignore-url ^https://www.splunk.com/
3232
--ignore-url ^https://oauth2.googleapis.com --ignore-url ^https://openidconnect.googleapis.com --ignore-url ^https://www.base64url.com/
3333
--ignore-url ^https://go.googlesource.com/ --ignore-url ^https://go.googlesource.com/sync --ignore-url ^https://linkerd.io/2.13/
34-
--ignore-url ^http://www.redirectpage.com/ --ignore-url ^https://www.gnu.org/
34+
--ignore-url ^http://www.redirectpage.com/ --ignore-url ^https://www.gnu.org/ --ignore-url ^https://insert_your_tenant_name.console.ves.volterra.io/
3535
--ignore-url ^https://\([a-zA-Z0-9-]+\).nginx.com/nginx-ingress-controller/css
3636
--ignore-url ^https://\([a-zA-Z0-9-]+\).nginx.com/nginxaas/azure/css
3737
--ignore-url ^https://\([a-zA-Z0-9-]+\).nginx.com/nginx-gateway-fabric/css

.github/workflows/ossf_scorecard.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,6 @@ jobs:
5656

5757
# Upload the results to GitHub's code scanning dashboard.
5858
- name: Upload SARIF results to code scanning
59-
uses: github/codeql-action/upload-sarif@39edc492dbe16b1465b0cafca41432d857bdb31a # v3.29.1
59+
uses: github/codeql-action/upload-sarif@181d5eefc20863364f96762470ba6f862bdef56b # v3.29.2
6060
with:
6161
sarif_file: results.sarif

.gitlint

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
[general]
2+
ignore = body-is-missing
3+
contrib = contrib-title-conventional-commits
4+
5+
[title-max-length]
6+
line-length = 50
7+
8+
[title-min-length]
9+
min-length = 5
10+
11+
[body-max-line-length]
12+
line-length= 72
13+
14+
[body-min-length]
15+
min-length = 5

.pre-commit-config.yaml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
default_install_hook_types:
2+
- pre-commit
3+
- commit-msg
4+
5+
repos:
6+
- repo: https://github.com/pre-commit/pre-commit-hooks
7+
rev: v5.0.0
8+
hooks:
9+
- id: no-commit-to-branch
10+
- repo: https://github.com/jorisroovers/gitlint
11+
rev: v0.19.1
12+
hooks:
13+
- id: gitlint

CHANGELOG.md

Lines changed: 0 additions & 5 deletions
This file was deleted.

CONTRIBUTING.md

Lines changed: 24 additions & 54 deletions
Original file line numberDiff line numberDiff line change
@@ -1,80 +1,51 @@
11
# Contributing guidelines
22

3-
The following is a set of guidelines for community contributions to this project.
4-
5-
We really appreciate your desire to contribute!
3+
The following are a set of guidelines for contributing to this project. We appreciate your desire to get involved!
64

75
If you are an F5 employee, see the following additional guidance on [Maintainers etiquette](/documentation/maintainers-etiquette.md).
86

97
## Table of contents
108

11-
- [Report a Bug](#report-a-bug)
12-
- [Suggest a Feature or Enhancement](#suggest-a-feature-or-enhancement)
13-
- [Open a Discussion](#open-a-discussion)
14-
- [Submit a Pull Request](#submit-a-pull-request)
15-
- Review our [Git style guide](#git-style-guide)
16-
- Review the [Writing style guide](/documentation/style-guide.md)
17-
- Review [Managing content with Hugo](/documentation/writing-hugo.md)
18-
- [Issue Lifecycle](#issue-lifecycle)
9+
- [Create an issue](#create-an-issue)
10+
- [Start a discussion](#start-a-discussion)
11+
- [Submit a pull request](#submit-a-pull-request)
12+
- [Issue lifecycle](#issue-lifecycle)
1913
- [Additional NGINX documentation](#additional-nginx-documentation)
2014
- [F5 Contributor License Agreement (CLA)](#f5-contributor-license-agreement)
2115

22-
## Report a bug
23-
24-
To report a bug, open an issue on GitHub with the label `bug` using the
25-
available bug report issue template. Before reporting a bug, make sure the
26-
issue has not already been reported.
27-
28-
## Suggest a feature or enhancement
16+
## Create an issue
2917

30-
To suggest a feature or enhancement, open an issue on GitHub with the label
31-
`feature` or `enhancement` using the available feature request issue template.
32-
Please ensure the feature or enhancement has not already been suggested.
18+
One way to contribute to the project is by [creating an issue](https://github.com/nginx/documentation/issues/new/choose).
3319

34-
## Open a Discussion
20+
The two most common are enhancements and bug reports. When using the issue templates, they will be automatically labelled.
3521

36-
If you want to start a conversation with the community and maintainers,
37-
we encourage you to use
38-
[GitHub Discussions](https://github.com/nginx/documentation/discussions).
22+
- An enhancement is an improvement of some kind, such as a new document or additional detail for a product feature
23+
- A bug report draws attention to an issue in documentation, such as an incorrect command or outdated information
3924

40-
## Submit a Pull Request
25+
Before creating an issue, please check there is [no existing issue](https://github.com/nginx/documentation/issues?q=is%3Aissue) for the topic.
4126

42-
To contribute to F5 NGINX documentation, follow these steps:
43-
44-
- Fork the NGINX repository
45-
- Create a branch
46-
- Implement your changes in your branch
47-
- Submit a pull request (PR) when your changes are ready for review
27+
We encourage discussions within issues, since they act as a source of contextual truth and are linked to pull requests.
4828

49-
Alternatively, you're welcome to suggest improvements to highlight problems with
50-
our documentation as described in our [support](./SUPPORT.md) page.
29+
## Start a discussion
5130

52-
### Git style guide
31+
We encourage you to use [GitHub Discussions](https://github.com/nginx/documentation/discussions) for conversations with the community and maintainers.
5332

54-
- Keep a clean, concise and meaningful Git commit history on your branch, rebasing locally and squashing before you submit a PR
55-
- We use [Conventional Commits](https://www.conventionalcommits.org/en/v1.0.0/#summary) formatting.
56-
- Follow the guidelines of writing a good commit message as described here <https://chris.beams.io/posts/git-commit/>
57-
and summarized in the next few points:
33+
If you'd like to discuss something NGINX-related that doesn't involve documentation, you should go to the [NGINX Community Forum](https://community.nginx.org/).
5834

59-
- In the subject line, use the present tense ("Add feature" not "Added feature")
60-
- In the subject line, use the imperative mood ("Move cursor to..." not "Moves cursor to...")
61-
- Limit the subject line to 72 characters or less
62-
- Reference issues and pull requests liberally after the subject line
63-
- Add more detailed description in the body of the git message (`git commit -a` to give you more space and time in
64-
your text editor to write a good message instead of `git commit -am`)
35+
## Submit a pull request
6536

66-
#### Branch protection rules
37+
Before making documentation changes, you should view the [documentation style guide](/documentation/style-guide.md) and [Managing content with Hugo](/documentation/writing-hugo.md).
6738

68-
This repository has the following branch protection rules in place:
39+
To understand how we use Git in this repository, read our [Git conventions](/documentation/git-conventions.md) documentation.
6940

70-
- **Pushing branches that contain the "internal/" prefix is not allowed.** This ensures internal development branches are not accidentally or purposefully pushed to this repo.
71-
- **Two approvers are required for all merges to main and release branches.** This ensures all code that is approved for release to production is appropriately reviewed. This rule applies to all branches with `*release*` in the branch name.
72-
- **Only NGINX DocOps Team members can create release branches.** This ensures the docs team is aware of all branches supporting specific product releases. This rule applies to all branches with `*release*` in the branch name.
73-
- **Pushes (force or otherwise) directly to main or release branches is not allowed.** Release branches serve as "main" for the release they are associated with. Restricting pushes directly to main and release branches ensures all content changes are reviewed and approved. This rule applies to all branches with `*release*` in the branch name and to "main".
41+
The broad workflow is as follows:
7442

75-
### Documentation style guide
43+
- Fork the NGINX repository
44+
- Create a branch
45+
- Implement your changes in your branch
46+
- Submit a pull request (PR) when your changes are ready for review
7647

77-
For detailed guidance, see our documentation [style guide](./templates/style-guide.md).
48+
Alternatively, you're welcome to suggest improvements to highlight problems with our documentation as described in our [support](./SUPPORT.md) page.
7849

7950
## Issue lifecycle
8051

@@ -93,7 +64,6 @@ This repository does not include all of the source content for the NGINX documen
9364
- [NGINX Open Source](https://github.com/nginx/nginx) - source for [NGINX changelog](https://nginx.org/en/CHANGES)
9465
- [nginx.org](https://github.com/nginx/nginx.org) - source for https://nginx.org
9566
- [NGINX Unit](https://github.com/nginx/unit) - source for https://unit.nginx.org
96-
- [NGINX Ingress Controller](https://github.com/nginxinc/kubernetes-ingress/) - source for https://docs.nginx.com/nginx-ingress-controller
9767

9868
In those repositories, you can find documentation source code in the `docs` or `site` subdirectories.
9969

README.md

Lines changed: 5 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -4,33 +4,28 @@
44
[![Contributor Covenant](https://img.shields.io/badge/Contributor%20Covenant-2.1-4baaaa.svg)](https://github.com/nginxinc/template-repository/main/CODE_OF_CONDUCT.md)
55
![Commercial Support](https://badgen.net/badge/support/commercial/green?icon=awesome)
66

7-
<!-- These are the "repo [status badge](https://www.repostatus.org/)s" and the community support badges -->
8-
97
# NGINX documentation
108

9+
This repository contains the user documentation for NGINX's products, as well as the requirements to build and publish the documentation website.
10+
11+
Documentation is written in [Markdown](https://daringfireball.net/projects/markdown/basics), then transformed into HTML using the [Hugo](https://gohugo.io/) static site generator.
12+
1113
If you want to contribute to [F5 NGINX documentation](https://docs.nginx.com), you've come to the right place. We've organized a series of README-type files to help you get started:
1214

1315
- [Contributing](/CONTRIBUTING.md) describes how you can contribute to our documentation.
14-
- [Contributing guidelines for experts](/CONTRIBUTING_DOCS.md) describes how you can contribute (and check your work) with Hugo, our static site generator
1516
- [Code of Conduct](/CODE_OF_CONDUCT.md) describes expectations in the NGINX open source community.
1617
- [License](/LICENSE) shows the license associated with work on this repository.
1718
- [Security](/SECURITY.md) describes the procedures we would like you to follow if you find a security issue.
1819
- [Support](/SUPPORT.md) lists how you can get support as a customer or a community member.
1920

20-
## Explanation
21-
22-
This repository contains user documentation for NGINX's products, as well as the requirements for linting, building, and publishing the documentation.
23-
24-
Our documentation is written in Markdown, specifically the [Goldmark](https://github.com/yuin/goldmark) Markdown parser.
25-
We build our docs using [Hugo](https://gohugo.io) and host them in custom URLs on Azure.
21+
You may also find the [documentation folder](/documentation/) for the repository interesting: it's where we store our process information.
2622

2723
## License
2824

2925
[BSD 2-Clause "Simplified" License](/LICENSE)
3026

3127
&copy; [F5, Inc.](https://www.f5.com/) 2025
3228

33-
3429
## Credits
3530

3631
- [The Good Docs Project](https://www.thegooddocsproject.dev/), whose templates we've adapted for our use.

0 commit comments

Comments
 (0)