Fix broken 'Add Cluster' docs link (#5725)

* Fix broken 'Add Cluster' docs link

Signed-off-by: Sebastian Malton <sebastian@malton.name>

* fix tests

Signed-off-by: Sebastian Malton <sebastian@malton.name>
This commit is contained in:
Sebastian Malton authored and GitHub committed 2022-07-01 10:06:27 -07:00
1 parent 5f57213179
commit a4f70c3d53
4 files changed
+4 -4

No files matched your search

@@ -169,7 +169,7 @@ exports[`add-cluster - navigation using application menu when navigating to add
</code>
file.
<a
href="https://docs.k8slens.dev/main//catalog/add-clusters/"
href="https://docs.k8slens.dev/main/catalog/add-cluster/"
rel="noreferrer"
target="_blank"
>
@@ -165,7 +165,7 @@ exports[`extensions - navigation using application menu when navigating to exten
<p>
Add new features via Lens Extensions. Check out the
<a
href="https://docs.k8slens.dev/main//extensions/"
href="https://docs.k8slens.dev/main/extensions/"
rel="noreferrer"
target="_blank"
>
+1 -1
View File
@@ -140,7 +140,7 @@ export const lensBlogWeblinkId = "lens-blog-link";
export const kubernetesDocumentationWeblinkId = "kubernetes-documentation-link";
export const appSemVer = new SemVer(packageInfo.version);
export const docsUrl = "https://docs.k8slens.dev/main/" as string;
export const docsUrl = "https://docs.k8slens.dev/main" as string;
export const sentryDsn = packageInfo.config?.sentryDsn ?? "";
export const contentSecurityPolicy = packageInfo.config?.contentSecurityPolicy ?? "";
@@ -112,7 +112,7 @@ class NonInjectedAddCluster extends React.Component<Dependencies> {
<code>~/.kube/config</code>
{" file. "}
<a
href={`${docsUrl}/catalog/add-clusters/`}
href={`${docsUrl}/catalog/add-cluster/`}
rel="noreferrer"
target="_blank"
>