Skip to content

Commit 64c6d20

Browse files
committed
fix ghcode lint errors
1 parent 40a133c commit 64c6d20

File tree

2 files changed

+18
-12
lines changed

2 files changed

+18
-12
lines changed

README.md

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -73,12 +73,6 @@ The following table lists the software versions NGINX Gateway Fabric supports.
7373
| 1.2.0 | 1.0.0 | 1.23+ | 1.25.4 | R31 |
7474
| 1.1.0 | 1.0.0 | 1.23+ | 1.25.3 | n/a |
7575
| 1.0.0 | 0.8.1 | 1.23+ | 1.25.2 | n/a |
76-
| 0.6.0 | 0.8.0 | 1.23+ | 1.25.2 | n/a |
77-
| 0.5.0 | 0.7.1 | 1.21+ | 1.25.x \* | n/a |
78-
| 0.4.0 | 0.7.1 | 1.21+ | 1.25.x \* | n/a |
79-
| 0.3.0 | 0.6.2 | 1.21+ | 1.23.x \* | n/a |
80-
| 0.2.0 | 0.5.1 | 1.21+ | 1.21.x \* | n/a |
81-
| 0.1.0 | 0.5.0 | 1.19+ | 1.21.3 | n/a |
8276

8377
\*the installation manifests use the minor version of NGINX container image (e.g. 1.25) and the patch version is not
8478
specified. This means that the latest available patch version is used.

site/content/get-started.md

Lines changed: 18 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -206,10 +206,14 @@ The YAML code in the following sections can be found in the [cafe-example folder
206206

207207
### Create the application resources
208208

209-
Apply the file _cafe.yaml_ with the contents with `kubectl`:
209+
Create the file _cafe.yaml_ with the following contents:
210+
211+
{{< ghcode `https://raw.githubusercontent.com/nginxinc/nginx-gateway-fabric/refs/heads/main/examples/cafe-example/cafe.yaml`>}}
212+
213+
Apply it using `kubectl`:
210214

211215
```shell
212-
kubectl apply -f "https://raw.githubusercontent.com/nginxinc/nginx-gateway-fabric/refs/heads/main/examples/cafe-example/cafe.yaml"
216+
kubectl apply -f cafe.yaml
213217
```
214218

215219
```text
@@ -235,20 +239,28 @@ tea-7b7d6c947d-d4qcf 1/1 Running 0 10s
235239

236240
### Create Gateway and HTTPRoute resources
237241

238-
Apply the file _gateway.yaml_ with the contents using `kubectl`:
242+
Create the file _gateway.yaml_ with the following contents:
243+
244+
{{< ghcode `https://raw.githubusercontent.com/nginxinc/nginx-gateway-fabric/refs/heads/main/examples/cafe-example/gateway.yaml`>}}
245+
246+
Apply it using `kubectl`:
239247

240248
```shell
241-
kubectl apply -f https://raw.githubusercontent.com/nginxinc/nginx-gateway-fabric/refs/heads/main/examples/cafe-example/gateway.yaml
249+
kubectl apply -f gateway.yaml
242250
```
243251

244252
```text
245253
gateway.gateway.networking.k8s.io/gateway created
246254
```
247255

248-
Apply the file _cafe-routes.yaml_ with the contents using `kubectl`:
256+
Create the file _cafe-routes.yaml_ with the following contents:
257+
258+
{{< ghcode `https://raw.githubusercontent.com/nginxinc/nginx-gateway-fabric/refs/heads/main/examples/cafe-example/cafe-routes.yaml`>}}
259+
260+
Apply it using `kubectl`:
249261

250262
```shell
251-
kubectl apply -f https://raw.githubusercontent.com/nginxinc/nginx-gateway-fabric/refs/heads/main/examples/cafe-example/cafe-routes.yaml
263+
kubectl apply -f cafe-routes.yaml
252264
```
253265

254266
```text

0 commit comments

Comments
 (0)