Skip to content

Commit 5f5bd4c

Browse files
committed
Merge branch 'main' into ngf-release-2.0
2 parents 69746b9 + 0e1197d commit 5f5bd4c

File tree

872 files changed

+13062
-10390
lines changed

Some content is hidden

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

872 files changed

+13062
-10390
lines changed
Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
{
2+
"ssg": "hugo",
3+
"mode": "hosted",
4+
"build": {
5+
"install_command": "[ -f package.json ] && npm i",
6+
"build_command": "hugo --destination public --baseURL / --noTimes",
7+
"output_path": "public",
8+
"environment_variables": [
9+
{
10+
"key": "HUGO_CACHEDIR",
11+
"value": "/usr/local/__site/src/.hugo_cache/"
12+
}
13+
],
14+
"preserved_paths": "node_modules/,.hugo_cache/,resources/",
15+
"preserve_output": false,
16+
"include_git": true,
17+
"manually_configure_urls": false,
18+
"hugo_version": "0.134.3",
19+
"ruby_version": "2.7.3",
20+
"node_version": "18",
21+
"deno_version": "1.40.2"
22+
}
23+
}

.cloudcannon/schemas/nms/policy.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -153,7 +153,7 @@ Confirm the policy is being enforced:
153153

154154
<!-- Add troubleshooting steps for issues users might encounter and can self-solve. The purpose of this section is to deflect customer calls to Support. -->
155155

156-
For help resolving common issues when setting up and configuring the policy, follow the steps in this section. If you cannot find a solution to your specific issue, reach out to [NGINX Customer Support]({{< relref "support/contact-support.md" >}}) for assistance.
156+
For help resolving common issues when setting up and configuring the policy, follow the steps in this section. If you cannot find a solution to your specific issue, reach out to [NGINX Customer Support]({{< ref "support/contact-support.md" >}}) for assistance.
157157

158158
### Issue 1
159159

.gitattributes

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
# Set the default behavior for correcting line endings,
22
# in case people don't have core.autocrlf set.
33
* text=auto
4-
4+
.github/workflows/update_from_nginx_documentation.yml merge=ours
5+
.gitattributes merge=ours
Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
---
2+
name: Story task
3+
about: This template is for a story or task, encompassing a single work item for completion
4+
title: ""
5+
labels: "documentation"
6+
projects: ["nginxinc/32"]
7+
assignees: ""
8+
---
9+
10+
*Remove italicized directions as relevant to reduce noise in the issue description.*
11+
12+
## Overview
13+
14+
*Written as a user story*.
15+
16+
**As a** <user>, **I want** <thing>, **So I can** <action>.
17+
18+
## Description
19+
20+
*Add the finer details of what this task involves and is trying to accomplish. A problem well defined is half-solved*.
21+
22+
## Acceptance criteria
23+
24+
*Add any exacting acceptance criteria for the task to be complete. Start with known hard requirements, since they may create blockers.*
Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
---
2+
name: Epic overview
3+
about: This template is for planning an epic, which is a large body of effort involving multiple stories or tasks
4+
title: ""
5+
labels: "epic, documentation"
6+
projects: ["nginxinc/32"]
7+
assignees: ""
8+
---
9+
10+
*Remove italicized directions as relevant to reduce noise in the issue description.*
11+
12+
## Description
13+
14+
*Write a high-level description of what the body of work for this epic includes.*
15+
16+
## Goals
17+
18+
*Describe the intent of the epic and what the intended impact is for this effort.*
19+
20+
## User stories
21+
22+
*Add a user story for relevant persona to this epic, who are the stakeholders*.
23+
24+
**As a** <user>,
25+
**I want** <thing>,
26+
**So I can** <action>.
27+
28+
**As a** <user>,
29+
**I want** <thing>,
30+
**So I can** <action>.
31+
32+
## Tasks
33+
34+
*Create a simple list of tasks necessary for this epic. Finer details should be kept to sub-issues/tasks/stories.*
35+
36+
- Example task 1
37+
- Example task 1
38+
- Example task 1
39+
- Example task 1
40+
- Example task 1
Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,44 @@
1+
---
2+
name: Content release plan
3+
about: This template is for a content release plan, typically tied to a product release
4+
title: " v#.# content release plan"
5+
labels: "documentation"
6+
projects: ["nginxinc/32"]
7+
assignees: ""
8+
---
9+
10+
*Remove italicized directions as relevant to reduce noise in the issue description.*
11+
12+
## Overview
13+
14+
- **Product name**:
15+
- **Release date**:
16+
17+
A content release plan establishes and tracks the documentation work for a product related to a release.
18+
19+
Add tickets to this content release plan as sub-issues, and update it as you go along.
20+
21+
## Description
22+
23+
*Write a high-level summary of changes expected in this release*.
24+
25+
## User stories
26+
27+
**As a** technical writer,
28+
**I want** a content release plan for my product,
29+
**So I can** ensure correct content is released alongside the latest version of the product.
30+
31+
**As a** product owner,
32+
**I want** a content release plan for my product,
33+
**So I can** ensure the product team includes documentation as part of changes to the product.
34+
35+
## Tasks
36+
37+
*Create a simple list of tasks necessary for this content plan. Finer details can be kept to sub-issues.*
38+
*Each task item should have a 1:1 relationship with a documentation item, which could be an engineering issue.*
39+
40+
- [ ] Update changelog/release notes
41+
- [ ] Update version reference information (Such as technical specifications, version shortcodes)
42+
- [ ] Update any other documentation impacted by changes in this release
43+
- Additional task 1
44+
- Additional task 2

.github/workflows/fossa.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,6 @@ jobs:
2525
uses: actions/checkout@85e6279cec87321a52edac9c87bce653a07cf6c2 # v4.2.2
2626

2727
- name: Scan
28-
uses: fossas/fossa-action@93a52ecf7c3ac7eb40f5de77fd69b1a19524de94 # v1.5.0
28+
uses: fossas/fossa-action@c0a7d013f84c8ee5e910593186598625513cc1e4 # v1.6.0
2929
with:
3030
api-key: ${{ secrets.FOSSA_TOKEN }}

.github/workflows/notification.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ jobs:
4242
}
4343
4444
- name: Send notification
45-
uses: 8398a7/action-slack@28ba43ae48961b90635b50953d216767a6bea486 # v3.16.2
45+
uses: 8398a7/action-slack@1750b5085f3ec60384090fb7c52965ef822e869e # v3.18.0
4646
with:
4747
status: custom
4848
custom_payload: |

.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@6bb031afdd8eb862ea3fc1848194185e076637e5 # v3.28.11
59+
uses: github/codeql-action/upload-sarif@1b549b9259bda1cb5ddde3b41741a82a2d15a841 # v3.28.13
6060
with:
6161
sarif_file: results.sarif

CLOSED_CONTRIBUTIONS.md

Lines changed: 67 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,67 @@
1+
# Contributing guidelines for closed content
2+
3+
This document describes the process for authoring "closed content", which is content of a sensitive nature that cannot be publicised before release.
4+
5+
Sensitive content might include:
6+
7+
- Security content, including personally identifying information (PII).
8+
- Content / features that are not yet ready to be announced.
9+
10+
We work in public by default, so this process should only be used on a case by case basis by F5 employees.
11+
12+
For standard content releases, review the [Contributing guidelines](/CONTRIBUTING.md).
13+
14+
## Overview
15+
16+
This repository (https://github.com/nginx/documentation) is where we work by default. It has a one-way sync to an internal repository, used for closed content.
17+
18+
The process is as follows:
19+
20+
- Add the closed repository as a remote
21+
- Create a remote branch with the prefix `internal/` in the closed repository
22+
- Open a pull request in the closed repository to get previews and request feedback
23+
- Once all stakeholders are happy with changes, close the pull request in the closed repository
24+
- Merge the changes from the remote (Closed) repository branch with a new branch in the open repository
25+
- Open a new pull request in the open repository, where it can be merged
26+
27+
You can get the URL through our internal communication channels: it will be represented in the following steps as `<closed-URL>`.
28+
29+
## Steps
30+
31+
To create closed content, add the closed repository as a remote to the main repository, then fetch.
32+
33+
```shell
34+
cd documentation
35+
git remote add internal git@github.com:<closed-url>.git
36+
git fetch
37+
```
38+
39+
Check out the remote `main` branch, and use it to create a feature branch. **Ensure that you prefix all branch names with `internal/`**
40+
41+
```shell
42+
git checkout internal/main
43+
git checkout -b internal/feature
44+
```
45+
46+
Once you've finished with your work, commit it and push it to the internal repository:
47+
48+
```shell
49+
git add .
50+
git commit
51+
git push internal
52+
```
53+
54+
Open a pull request when you are ready to receive feedback from stakeholders.
55+
56+
After any iterative work, close the pull request. Since the closed repository is a mirror of the open one, we do not merge changes to it.
57+
58+
Change back to the origin `main` branch, create a new branch, merge your internal branch and push to origin.
59+
60+
```shell
61+
git checkout main
62+
git checkout -b feature
63+
git merge internal/internal/feature
64+
git push origin
65+
```
66+
67+
Once the content changes have been merged in the open repository, they will synchronize back to the closed repository.

CONTRIBUTING.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ If you are an F5 employee, see the following additional guidance [For F5 Employe
1515
- Review our Documentation [style guide](./templates/style-guide.md)
1616
- Review our [Contributing guidelines for writers](./CONTRIBUTING_DOCS.md)
1717
- [Issue Lifecycle](#issue-lifecycle)
18-
- [Content edited elsewhere](#content-edited-elsewhere)
18+
- [Additional NGINX documentation](#additional-nginx-documentation)
1919
- [F5 Contributor License Agreement (CLA)](#f5-contributor-license-agreement)
2020

2121
## Report a bug
@@ -92,7 +92,6 @@ This repository does not include all of the source content for the NGINX documen
9292
- [nginx.org](https://github.com/nginx/nginx.org) - source for https://nginx.org
9393
- [NGINX Unit](https://github.com/nginx/unit) - source for https://unit.nginx.org
9494
- [NGINX Ingress Controller](https://github.com/nginxinc/kubernetes-ingress/) - source for https://docs.nginx.com/nginx-ingress-controller
95-
- [NGINX Agent](https://github.com/nginx/agent) - source for https://docs.nginx.com/nginx-agent
9695

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

CONTRIBUTING_DOCS.md

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,14 +16,13 @@ If you're an employee of F5/NGINX, also read [For F5/NGINX Employees](./F5-NGINX
1616
You will need to install Hugo _or_ Docker to build and preview docs in your local development environment.
1717
Refer to the [Hugo installation instructions](https://gohugo.io/getting-started/installing/) for more information.
1818

19-
**NOTE**: We are currently running [Hugo v0.134.2](https://github.com/gohugoio/hugo/releases/tag/v0.134.2) in production.
20-
2119

2220
Although not a strict requirement, markdown-link-check is also used in documentation development.
2321

2422
If you have [Docker](https://www.docker.com/get-started/) installed, there are fallbacks for all requirements in the [Makefile](Makefile), meaning you don't need to install them.
2523

2624
- [Installing Hugo](https://gohugo.io/getting-started/installing/)
25+
- **NOTE**: We are currently running [Hugo v0.134.2](https://github.com/gohugoio/hugo/releases/tag/v0.134.2) in production.
2726
- [Installing markdownlint-cli](https://github.com/igorshubovych/markdownlint-cli?tab=readme-ov-file#installation)
2827
- [Installing markdown-link-check](https://github.com/tcort/markdown-link-check?tab=readme-ov-file#installation).
2928

@@ -35,7 +34,11 @@ The configuration files are as follows:
3534

3635
## Local Docs Development
3736

38-
To build the documentation locally, use the `make` command in the documentation folder with these targets:
37+
To build the documentation locally, use the `make` command in the documentation folder. First make sure you have the latest version of our Hugo theme with:
38+
39+
`make hugo-update`
40+
41+
Once you've updated the theme, you can use these targets:
3942

4043
```text
4144
make watch - Runs a local Hugo server, allowing for changes to be previewed in a browser.
@@ -88,7 +91,7 @@ Here are two examples:
8891

8992
```md
9093
To install <software>, refer to the [installation instructions]({{< ref "install.md" >}}).
91-
To install <integation>, refer to the [integration instructions]({{< relref "/integration/thing.md#section" >}}).
94+
To install <integation>, refer to the [integration instructions]({{< ref "/integration/thing.md#section" >}}).
9295
```
9396

9497
### How to add images

F5-NGINX-team-notes.md

Lines changed: 6 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,18 @@
11
# For F5/NGINX Employees
22

3-
This repository is a functional mirror. We want to do as much of our work as possible in the
4-
public repository. However, if you are working with:
3+
This repository is public, and we do as much of our work as possible in the public as a commitment to open source.
54

6-
- Security content, including personally identifying information (PII).
7-
- Content / features that are not yet ready to be announced.
5+
Before new content is published at https://docs.nginx.com, it must be committed to this `documentation` repository.
86

9-
Before new content is published at https://docs.nginx.com, it must be written to this `documentation` repository. After you get approvals in the internal `docs` repository, you'll need to create a _second_ pull request in this open `documentation` repository.
7+
If you are an F5 employee unable to assign yourself as an owner of an issue or a reviewer of a pull request, ask a member of the NGINX documentation team for help.
108

11-
If you are unable to assign yourself as an owner of an issue or a reviewer of a pull request, and are an employee of F5, ask a member of the NGINX documentation team for help.
9+
If your content cannot be publicized before release, it is handled differently: read the [Contributing guidelines for closed content](/CLOSED_CONTRIBUTIONS.md) document.
1210

13-
We encourage you to work with community contributors. If you participate in
14-
PRs, issues, discussions, and more, follow these guidelines:
11+
We encourage you to work with community contributors. If you participate in PRs, issues, discussions, and more, follow these guidelines:
1512

1613
- Follow the [Code of Conduct](./CODE_OF_CONDUCT.md).
1714
- Be helpful. We want to encourage people who contribute to continue.
15+
- If you need to say "no," here's [an example](https://github.com/nginx/documentation/pull/307#issuecomment-2748521932) of how we interact with the community.
1816
- Avoid references and links to internal content.
1917
- Do not include information about future releases, changes, or features, unless
2018
specifically authorized.

content/agent/_index.md

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,8 @@
11
---
2-
title: "NGINX Agent"
3-
description: "NGINX Agent is a companion daemon for your NGINX Open Source or NGINX Plus instance."
4-
linkTitle: "NGINX Agent"
5-
menu: docs
2+
title: NGINX Agent
3+
description: NGINX Agent is a companion daemon for your NGINX Open Source or NGINX
4+
Plus instance.
65
url: /nginx-agent/
76
cascade:
8-
logo: "NGINX-product-icon.png"
9-
---
7+
logo: NGINX-product-icon.png
8+
---

content/agent/configuration/_index.md

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
11
---
2-
title: "Configuration"
3-
description: "Learn how to configure NGINX Agent."
4-
linkTitle: "Configuration"
5-
weight: "400"
6-
menu: docs
2+
title: Configuration
3+
description: Learn how to configure NGINX Agent.
4+
weight: 400
75
url: /nginx-agent/configuration/
8-
---
6+
---

content/agent/configuration/configuration-overview.md

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,11 @@
11
---
2-
title: "Basic configuration"
2+
title: Basic configuration
33
draft: false
44
weight: 100
55
toc: true
6-
tags: [ "docs" ]
7-
docs: "DOCS-1229"
8-
categories: ["configuration"]
9-
doctypes: ["task"]
6+
docs: DOCS-1229
7+
type:
8+
- how-to
109
---
1110

1211
The following sections explain how to configure NGINX Agent using configuration files, CLI flags, and environment variables.

content/agent/configuration/configure-nginx-agent-features.md

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,10 @@
11
---
2-
title: "Features configuration"
2+
title: Features configuration
33
draft: false
44
weight: 150
55
toc: true
6-
tags: [ "docs" ]
7-
categories: ["configuration"]
8-
doctypes: ["task"]
6+
type:
7+
- how-to
98
---
109

1110
## Overview

0 commit comments

Comments
 (0)