Skip to content

Commit 8651501

Browse files
Fix broken links (#476)
<!-- markdownlint-disable MD041 --> #### What this PR does / why we need it Fix broken external and internal links. Convert all external links to own ocm.software website back to internal links as in the future we can use [htmltest](https://github.com/wjdp/htmltest/tree/master) to test both external and internal links. GH action replacing current HTML verify comes with next PR. --------- Signed-off-by: Gerald Morrison (SAP) <[email protected]> Co-authored-by: Gerald Morrison (SAP) <[email protected]>
1 parent ab36f4f commit 8651501

20 files changed

+45
-41
lines changed

.github/config/wordlist.txt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,7 @@ crd
7373
creationtime
7474
credentialrequest
7575
credentialsspec
76+
creds
7677
crossplatform
7778
crypto
7879
cryptographic
@@ -406,4 +407,4 @@ yaml
406407
yitsushi
407408
yml
408409
yy
409-
yyyy
410+
yyyy

config/_default/menus/menus.en.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55

66
[[main]]
77
name = "Community"
8-
url = "/community"
8+
url = "/community/community"
99
weight = 20
1010

1111
[[main]]

content/community/_index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
title : "Community"
33
layout: community
4-
description: "Community"
4+
url: "/community/"
55
weight: 90
66
lead: ""
77
draft: false

content/community/call_history.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
title: "Community Calls History"
3-
description: "Community Calls History"
3+
url: /community/call_history/
44
lead: true
55
draft: false
66
images: []

content/community/community.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
title: "The OCM Community"
33
description: "The OCM Community"
4-
url: community
4+
url: "/community/community/"
55
lead: true
66
draft: false
77
images: []
@@ -86,7 +86,7 @@ To see all announcements and join the group, please visit the [OCM Announcements
8686
#### Recordings and Slides
8787

8888
All calls will be recorded and uploaded publicly to the [OCM YouTube channel](https://www.youtube.com/@OpenComponentModel).
89-
Slides and agenda from prior community calls are stored [here](https://ocm.software/community/community-calls-history/).
89+
Slides and agenda from prior community calls are stored [here](/community/call_history/).
9090

9191
{{<callout context="note" title="Meeting Recordings">}}If you do not consent to being recorded, please do not enable your microphone or camera, or do not join the meetings.{{</callout>}}
9292

content/docs/controller/ocm-controller-api.md

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ Resource Types:
3535
<td>
3636
<code>metadata</code><br>
3737
<em>
38-
<a href="https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.19/#objectmeta-v1-meta">
38+
<a href="https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.32/#objectmeta-v1-meta">
3939
Kubernetes meta/v1.ObjectMeta
4040
</a>
4141
</em>
@@ -468,7 +468,7 @@ string
468468
<td>
469469
<code>metadata</code><br>
470470
<em>
471-
<a href="https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.19/#objectmeta-v1-meta">
471+
<a href="https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.32/#objectmeta-v1-meta">
472472
Kubernetes meta/v1.ObjectMeta
473473
</a>
474474
</em>
@@ -708,7 +708,7 @@ github.com/open-component-model/ocm/pkg/contexts/ocm/compdesc/meta/v1.Labels
708708
<td>
709709
<code>metadata</code><br>
710710
<em>
711-
<a href="https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.19/#objectmeta-v1-meta">
711+
<a href="https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.32/#objectmeta-v1-meta">
712712
Kubernetes meta/v1.ObjectMeta
713713
</a>
714714
</em>
@@ -773,7 +773,7 @@ github.com/fluxcd/kustomize-controller/api/v1beta2.KustomizationSpec
773773
<td>
774774
<code>helmReleaseTemplate</code><br>
775775
<em>
776-
<a href="https://pkg.go.dev/github.com/fluxcd/helm-controller/api/v2betapkg1#HelmReleaseSpec">
776+
<a href="https://pkg.go.dev/github.com/fluxcd/helm-controller/api/v2#HelmReleaseSpec">
777777
github.com/fluxcd/helm-controller/api/v2beta1.HelmReleaseSpec
778778
</a>
779779
</em>
@@ -860,7 +860,7 @@ github.com/fluxcd/kustomize-controller/api/v1beta2.KustomizationSpec
860860
<td>
861861
<code>helmReleaseTemplate</code><br>
862862
<em>
863-
<a href="https://pkg.go.dev/github.com/fluxcd/helm-controller/api/v2betapkg1#HelmReleaseSpec">
863+
<a href="https://pkg.go.dev/github.com/fluxcd/helm-controller/api/v2#HelmReleaseSpec">
864864
github.com/fluxcd/helm-controller/api/v2beta1.HelmReleaseSpec
865865
</a>
866866
</em>
@@ -1011,7 +1011,7 @@ string
10111011
<td>
10121012
<code>metadata</code><br>
10131013
<em>
1014-
<a href="https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.19/#objectmeta-v1-meta">
1014+
<a href="https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.32/#objectmeta-v1-meta">
10151015
Kubernetes meta/v1.ObjectMeta
10161016
</a>
10171017
</em>
@@ -1581,7 +1581,7 @@ string
15811581
<td>
15821582
<code>secretRef</code><br>
15831583
<em>
1584-
<a href="https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.19/#localobjectreference-v1-core">
1584+
<a href="https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.32/#localobjectreference-v1-core">
15851585
Kubernetes core/v1.LocalObjectReference
15861586
</a>
15871587
</em>
@@ -1759,7 +1759,7 @@ MUST NOT CONTAIN THE SCHEME.</p>
17591759
<td>
17601760
<code>secretRef</code><br>
17611761
<em>
1762-
<a href="https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.19/#localobjectreference-v1-core">
1762+
<a href="https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.32/#localobjectreference-v1-core">
17631763
Kubernetes core/v1.LocalObjectReference
17641764
</a>
17651765
</em>
@@ -1790,7 +1790,7 @@ Kubernetes core/v1.LocalObjectReference
17901790
<td>
17911791
<code>metadata</code><br>
17921792
<em>
1793-
<a href="https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.19/#objectmeta-v1-meta">
1793+
<a href="https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.32/#objectmeta-v1-meta">
17941794
Kubernetes meta/v1.ObjectMeta
17951795
</a>
17961796
</em>
@@ -1887,7 +1887,7 @@ ResourceStatus
18871887
<td>
18881888
<code>metadata</code><br>
18891889
<em>
1890-
<a href="https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.19/#objectmeta-v1-meta">
1890+
<a href="https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.32/#objectmeta-v1-meta">
18911891
Kubernetes meta/v1.ObjectMeta
18921892
</a>
18931893
</em>
@@ -2644,7 +2644,7 @@ Kubernetes meta/v1.Duration
26442644
<td>
26452645
<code>metadata</code><br>
26462646
<em>
2647-
<a href="https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.19/#objectmeta-v1-meta">
2647+
<a href="https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.32/#objectmeta-v1-meta">
26482648
Kubernetes meta/v1.ObjectMeta
26492649
</a>
26502650
</em>
@@ -3017,7 +3017,7 @@ string
30173017
<td>
30183018
<code>secretRef</code><br>
30193019
<em>
3020-
<a href="https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.19/#localobjectreference-v1-core">
3020+
<a href="https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.32/#localobjectreference-v1-core">
30213021
Kubernetes core/v1.LocalObjectReference
30223022
</a>
30233023
</em>

content/docs/getting-started/component-descriptor-example.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
---
22
title: "Example of a component descriptor"
3+
url: "/docs/getting-started/component-descriptor-example/"
34
description: ""
45
lead: ""
56
draft: false

content/docs/getting-started/create-component-version.md

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
---
22
title: "Create a Component Version"
3+
url: "/docs/getting-started/create-component-version/"
34
description: ""
45
lead: ""
56
draft: false
@@ -39,7 +40,7 @@ helm pull --untar podinfo/podinfo
3940

4041
Create a file `component-constructor.yaml`, which describes all elements of the component. You can use our public configuration schema to validate the configuration. The schema is available at `https://ocm.software/schemas/configuration-schema.yaml` and can be used in your editor to validate the configuration (e.g., in Visual Studio Code).
4142

42-
Component versions need to have at least a `name`, `version` and `provider` attribute. All other attributes are optional. Check out an [example component descriptor](https://ocm.software/docs/component-descriptors/version-2) or the [OCM Specification](https://github.com/open-component-model/ocm-spec/blob/main/README.md) to see all available attributes.
43+
Component versions need to have at least a `name`, `version` and `provider` attribute. All other attributes are optional. Check out an [example component descriptor](/docs/getting-started/component-descriptor-example/) or the [OCM Specification](https://github.com/open-component-model/ocm-spec/blob/main/README.md) to see all available attributes.
4344

4445
As mentioned before our example component will just contain a Helm Chart and a Docker image as resources:
4546

@@ -77,9 +78,9 @@ The type field is used to specify the kind of access.
7778
If the resource content is taken from local resources, the field `input` is used to specify
7879
the access to the local resources. Similarly to the `access` attribute, the kind of the input source is described by the field `type`.
7980

80-
Available access and input types are described [here](https://ocm.software/docs/tutorials/input-and-access-types).
81+
Available access and input types are described [here](/docs/tutorials/input-and-access-types/).
8182

82-
For more complex scenarios, the description files might use variable substitution (templating), see [Best Practices](/docs/tutorials/best-practices#templating-the-resources).
83+
For more complex scenarios, the description files might use variable substitution (templating), see [Best Practices](/docs/tutorials/best-practices/#templating-the-resources).
8384

8485
### Add Component Version to CTF archive
8586

content/docs/getting-started/installation.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
---
22
title: "Installing the OCM CLI"
3+
url: "/docs/getting-started/installation/"
34
description: ""
45
lead: ""
56
draft: false
@@ -58,7 +59,6 @@ see: [Flakes](https://nixos.wiki/wiki/Flakes)
5859

5960
## Install from AUR (Arch Linux User Repository)
6061

61-
[git-url](https://aur.archlinux.org/ocm-cli.git)
6262
[package-url](https://aur.archlinux.org/packages/ocm-cli)
6363

6464
```shell

content/docs/getting-started/prerequisites.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
---
22
title: "Prerequisites"
3+
url: /docs/getting-started/prerequisites/
34
description: ""
45
lead: ""
56
draft: false
@@ -15,7 +16,7 @@ To follow the steps described in this section, you will need to:
1516

1617
## Install the OCM Command Line Interface (CLI)
1718

18-
The CLI is used to interact with component versions and registries. Install it like described in [Installing the OCM CLI](https://ocm.software/docs/getting-started/installing-the-ocm-cli).
19+
The CLI is used to interact with component versions and registries. Install it like described in [Installing the OCM CLI](/docs/getting-started/installation/).
1920

2021
## Obtain Access to an OCM Repository
2122

@@ -64,4 +65,4 @@ configurations:
6465
```
6566

6667
More information on the credentials topic can be seen by running the OCM CLI help topic command `ocm credential-handling`
67-
and [in this guide](https://ocm.software/docs/examples/credentials-in-an-ocmconfig-file/) with many examples for different repository types.
68+
and [in this guide](/docs/tutorials/creds-in-ocmconfig/) with many examples for different repository types.

content/docs/getting-started/sign-component-versions.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ component version is used for signing. See [Signing Process and Normalization](h
1818
Currently, only signing according to the
1919
[RSA PKCS #1 v1.5 signature algorithm](https://datatracker.ietf.org/doc/html/rfc3447) is supported.
2020

21-
To follow the examples, one must follow the instructions from the section [Create a Component Version](https://ocm.software/docsgetting-started/getting-started-with-ocm/create-a-component-version).
21+
To follow the examples, one must follow the instructions from the section [Create a Component Version](/docs/getting-started/create-component-version/).
2222

2323
Create a key pair using the OCM CLI:
2424

content/docs/getting-started/transport-component-versions.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ weight: 26
88
toc: true
99
---
1010

11-
The section [Bundle Composed Components](https://ocm.software/docs/getting-started/getting-started-with-ocm/create-a-component-version#bundle-composed-components) explained how to bundle multiple component version into a transport archive.
11+
The section [Add Component Version to CTF archive](/docs/getting-started/create-component-version/#add-component-version-to-ctf-archive/) explained how to store component versions in a CTF archive.
1212

1313
During the transfer, it is possible to include component references as local blobs. It is also possible to include references in a recursive way.
1414

content/docs/tutorials/best-practices-with-ocm.md renamed to content/docs/tutorials/best-practices.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ This chapter contains guidelines for common scenarios how to work with the Open
2727

2828
The Open Component Model (OCM) provides a public schema to validate and offer auto-completion of component constructor files
2929
used to create component descriptors.
30-
This schema is available at [https://ocm.software/schemas/configuration-schema.yaml](/schemas/configuration-schema.yaml).
30+
This schema is available at [https://ocm.software/schemas/configuration-schema.yaml](https://ocm.software/schemas/configuration-schema.yaml).
3131

3232
To use this schema in your IDE, you can add the following line to your component constructor file:
3333

@@ -336,7 +336,7 @@ example can be found in the sample Github repository.
336336

337337
## Static and Dynamic Variable Substitution
338338

339-
Looking at the [settings file](https://ocm.software/docs/tutorials/build-deploy-applications-using-helm-charts-and-ocm/#building-the-common-transport-archive-ctf) shows that
339+
Looking at the [settings file](/docs/tutorials/build-deploy-applications-using-helm-charts-and-ocm/#building-the-common-transport-archive-ctf) shows that
340340
some variables like the `version` or the `commit` change with every build
341341
or release. In many cases, these variables will be auto-generated during the build.
342342

content/docs/tutorials/build-deploy-software-via-helm-charts-with-ocm-101.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,7 @@ components:
123123
124124
Some frequently changing parameters have been extracted as variables. The OCM CLI uses
125125
templating to fill them with values. The templating mechanism is described
126-
[here](https://ocm.software/docs/tutorials/best-practices/#templating-the-resources). For this example
126+
[here](/docs/tutorials/best-practices/#templating-the-resources). For this example
127127
we use the default template engine type `subst`.
128128

129129
Note the differences between the various components:

content/docs/tutorials/complex-component-structure-deployment.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,16 +9,16 @@ toc: true
99

1010
## Introduction
1111

12-
In this tutorial software products are comprised of logical units called [**components**](https://ocm.software/docs/overview/important-terms/#components-in-ocm). A component version consists of a set of technical [artifacts](https://github.com/open-component-model/ocm-spec/blob/main/doc/04-extensions/01-artifact-types/README.md) (e.g., Docker images, Helm charts, binaries, configuration data, etc.). Such artifacts are called **resources** in this specification. Resources are usually built from something, e.g., code in a git repo. Those are named **sources** in this specification.
12+
In this tutorial software products are comprised of logical units called [*components*](/docs/overview/important-terms/#components-in-ocm). A component version consists of a set of technical [*artifacts*](https://github.com/open-component-model/ocm-spec/blob/main/doc/04-extensions/01-artifact-types/README.md) (e.g., Docker images, Helm charts, binaries, configuration data, etc.). Such artifacts are called *resources* in this specification. Resources are usually built from something, e.g., code in a git repo. Those are named *sources* in this specification.
1313

14-
OCM introduces a **Component Version** for every component version that
14+
OCM introduces a *Component Version* for every component version that
1515
describes the resources, sources, and other component versions belonging to a particular
1616
component version and how to access them.
1717

1818
Usually, however, real-life applications are composed of multiple components. For
1919
example, an application might consist of a frontend, a backend, a database, and a web server.
2020
During the software development process new
21-
[**component versions**](https://github.com/open-component-model/ocm-spec/blob/main/doc/01-model/02-elements-toplevel.md#components-and-component-versions)
21+
[*component versions*](https://github.com/open-component-model/ocm-spec/blob/main/doc/01-model/02-elements-toplevel.md#components-and-component-versions)
2222
are created and third-party components might be consumed from a public registry and
2323
updated from time to time.
2424

@@ -44,7 +44,7 @@ references, you could collect all artifacts belonging to this product version.
4444

4545
## Prerequisites
4646

47-
We assume that you have already read the guides in the [Getting Started](https://ocm.software/docs/getting-started/getting-started-with-ocm/) section, as this guide discusses a more complex scenario.
47+
We assume that you have already read the guides in the [Getting Started](/docs/getting-started/) section, as this guide discusses a more complex scenario.
4848

4949
## Constructing the Component
5050

content/docs/tutorials/creds-in-ocmconfig.md

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
---
2-
title: "Credentials in .ocmconfig file"
3-
description: ""
4-
summary: ""
2+
Title: "Credentials in .ocmconfig file"
3+
url: "/docs/tutorials/creds-in-ocmconfig"
54
draft: false
65
weight: 72
76
toc: true

content/docs/tutorials/input_and_access.md renamed to content/docs/tutorials/input-and-access-types.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
---
22
title: "Input and Access Types"
3+
url: /docs/tutorials/input-and-access-types/
34
draft: false
45
weight: 68
56
toc: true

content/docs/tutorials/ocm-and-gitops/air-gapped-gitops-with-ocm-and-flux.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -257,7 +257,7 @@ LAST SEEN TYPE REASON OBJECT MESSAGE
257257
5m44s Warning Failed pod/podinfo-7b7d874bf8-xv75x Error: ImagePullBackOff
258258
```
259259

260-
Check out our [GitOps Driven Configuration of OCM Applications](/docs/tutorials/ocm-and-gitops/gitops-driven-configuration-of-ocm-applications) guide to see how you can use the `ocm-controller` to configure your application at runtime and solve exactly this kind of problem!
260+
Check out our [GitOps Driven Configuration of OCM Applications](/docs/tutorials/ocm-and-gitops/gitops-driven-configuration-of-ocm-applications/) guide to see how you can use the `ocm-controller` to configure your application at runtime and solve exactly this kind of problem!
261261

262262
### Conclusion
263263

content/docs/tutorials/ocm-and-gitops/deploying-applications-with-ocm-and-gitops.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ Here's a diagram showing what we'll be building:
2020

2121
As you can see, we'll add some manifests to a git repository that will be deployed by Flux. These will, in turn, deploy a resource from an OCM repository, in this case, a `Deployment` of the `podinfo` microservice.
2222

23-
If you'd like to learn how to build a component, then check out our [Getting Started guide](https://ocm.software/docs/getting-started/getting-started-with-ocm/prerequisites).
23+
If you'd like to learn how to build a component, then check out our [Getting Started guide](/docs/getting-started/prerequisites/).
2424

2525
## Table of Contents
2626

@@ -214,5 +214,5 @@ That's it! That's how easy it is to get started using the Open Component Model a
214214

215215
If you want to know more about working with OCM and GitOps, check out our other guides on this topic:
216216

217-
- [Air-gapped GitOps with OCM & Flux](https://ocm.software/docs/tutorials/ocm-and-gitops/air-gapped-gitops-with-ocm-flux/)
218-
- [GitOps Driven Configuration of OCM Applications](https://ocm.software/docs/tutorials/ocm-and-gitops/gitops-driven-configuration-of-ocm-applications/)
217+
- [Air-gapped GitOps with OCM & Flux](/docs/tutorials/ocm-and-gitops/air-gapped-gitops-with-ocm-flux/)
218+
- [GitOps Driven Configuration of OCM Applications](/docs/tutorials/ocm-and-gitops/gitops-driven-configuration-of-ocm-applications/)

layouts/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ <h3 class="h3 text-default">{{ .title }}</h3>
7272
{{ end }}
7373
</div>
7474
<div class="text-center mt-4">
75-
<a class="btn btn-primary btn-lg rounded-pill px-5" href="docs/tutorials/ocm-and-gitops" role="button">
75+
<a class="btn btn-primary btn-lg rounded-pill px-5" href="/docs/tutorials/ocm-and-gitops/" role="button">
7676
{{ .Params.how_ocm_cta }}
7777
</a>
7878
</div>

0 commit comments

Comments
 (0)