Skip to content

Commit

Permalink
parametize docs dependant of version
Browse files Browse the repository at this point in the history
Signed-off-by: Carlos Eduardo Arango Gutierrez <carangog@redhat.com>
  • Loading branch information
ArangoGutierrez committed Jun 1, 2021
1 parent 8a8ca31 commit 87c0e0a
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 2 deletions.
2 changes: 2 additions & 0 deletions docs/_config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,3 +51,5 @@ release: master

# Container image which to point to in the documentation
container_image: gcr.io/k8s-staging-nfd/node-feature-discovery-operator:master
operator_version: v0.2.0
operand_version: v0.8
2 changes: 1 addition & 1 deletion docs/advanced/nodefeaturediscovery.md
Original file line number Diff line number Diff line change
Expand Up @@ -132,4 +132,4 @@ spec:
```
For more information about how to setup the `WorkerConfig` stanza,
see [worker config reference](https://kubernetes-sigs.github.io/node-feature-discovery/v0.8/advanced/worker-configuration-reference.html)
see [worker config reference](https://kubernetes-sigs.github.io/node-feature-discovery/{{ site.operand_version }}/advanced/worker-configuration-reference.html)
2 changes: 1 addition & 1 deletion docs/get-started/quick-start.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ git clone https://github.com/kubernetes-sigs/node-feature-discovery-operator
Deploy the operator

```bash
IMAGE_TAG=k8s.gcr.io/nfd/node-feature-discovery-operator:v0.2.0
IMAGE_TAG=k8s.gcr.io/nfd/node-feature-discovery-operator:{{ site.operator_version }}
make deploy
```

Expand Down
1 change: 1 addition & 0 deletions docs/index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
<meta http-equiv="refresh" content="0; URL='get-started/index.html'" />

0 comments on commit 87c0e0a

Please sign in to comment.