Skip to content

Commit afc5eb7

Browse files
committed
change: fix docs links
1 parent 14c5358 commit afc5eb7

File tree

7 files changed

+9
-8
lines changed

7 files changed

+9
-8
lines changed

CONTRIBUTING.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ We welcome everyone who likes to use and improve our software.
77

88
Before starting to work with and on k3d, please read and understand our [**Code of Conduct**](./CODE_OF_CONDUCT.md).
99

10-
Get an Overview of the k3d project in the documentation: [k3d.io/internals/project](https://k3d.io/internals/project)
10+
Get an Overview of the k3d project in the documentation: [k3d.io/stable/design/project/](https://k3d.io/stable/design/project/)
1111

1212
Before opening an issue or a Pull-Request, please use GitHub's search function to check whether something similar is already in process and hook in there instead.
1313

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@ k3d is a community-driven project and so we welcome contributions of any form, b
118118

119119
Please read our [**Contributing Guidelines**](./CONTRIBUTING.md) and the related [**Code of Conduct**](./CODE_OF_CONDUCT.md).
120120

121-
You can find an overview of the k3d project (e.g. explanations and a repository guide) in the documentation: [k3d.io/internals/project](https://k3d.io/internals/project)
121+
You can find an overview of the k3d project (e.g. explanations and a repository guide) in the documentation: [k3d.io/stable/design/project/](https://k3d.io/stable/design/project/)
122122

123123
[![Contributor Covenant](https://img.shields.io/badge/Contributor%20Covenant-v2.0%20adopted-ff69b4.svg)](code_of_conduct.md)
124124

cmd/image/imageImport.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ So if a file './k3d-io/k3d-tools' exists, k3d will try to import it instead of t
9797

9898
cmd.Flags().BoolVarP(&loadImageOpts.KeepTar, "keep-tarball", "k", false, "Do not delete the tarball containing the saved images from the shared volume")
9999
cmd.Flags().BoolVarP(&loadImageOpts.KeepToolsNode, "keep-tools", "t", false, "Do not delete the tools node after import")
100-
cmd.Flags().StringP("mode", "m", string(k3d.ImportModeToolsNode), "Which method to use to import images into the cluster [auto, direct, tools]. See https://k3d.io/usage/guides/importing_images/")
100+
cmd.Flags().StringP("mode", "m", string(k3d.ImportModeToolsNode), "Which method to use to import images into the cluster [auto, direct, tools]. See https://k3d.io/stable/usage/importing_images/")
101101
/* Subcommands */
102102

103103
// done

docgen/README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# docgen
22

3-
Only used to generate the command tree for <https://k3d.io/usage/commands>.
3+
Only used to generate the command tree for <https://k3d.io/stable/usage/commands>.
44

55
The code will output files in [`../docs/usage/commands/`](../docs/usage/commands/)
66

pkg/client/registry.go

+3-2
Original file line numberDiff line numberDiff line change
@@ -24,9 +24,10 @@ package client
2424
import (
2525
"context"
2626
"fmt"
27-
wharfie "github.com/rancher/wharfie/pkg/registries"
2827
gort "runtime"
2928

29+
wharfie "github.com/rancher/wharfie/pkg/registries"
30+
3031
"github.com/docker/go-connections/nat"
3132
"github.com/imdario/mergo"
3233
"sigs.k8s.io/yaml"
@@ -329,7 +330,7 @@ func RegistryGenerateLocalRegistryHostingConfigMapYAML(ctx context.Context, runt
329330
Host: fmt.Sprintf("%s:%s", host, registries[0].ExposureOpts.Binding.HostPort),
330331
HostFromContainerRuntime: fmt.Sprintf("%s:%s", registries[0].Host, registries[0].ExposureOpts.Port.Port()),
331332
HostFromClusterNetwork: fmt.Sprintf("%s:%s", registries[0].Host, registries[0].ExposureOpts.Port.Port()),
332-
Help: "https://k3d.io/usage/guides/registries/#using-a-local-registry",
333+
Help: "https://k3d.io/stable/usage/registries/#using-a-local-registry",
333334
},
334335
)
335336
if err != nil {

pkg/client/registry_test.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ func TestRegistryGenerateLocalRegistryHostingConfigMapYAML(t *testing.T) {
3737
expectedYAMLString := `apiVersion: v1
3838
data:
3939
localRegistryHosting.v1: |
40-
help: https://k3d.io/usage/guides/registries/#using-a-local-registry
40+
help: https://k3d.io/stable/usage/registries/#using-a-local-registry
4141
host: test-host:5432
4242
hostFromClusterNetwork: test-host:1234
4343
hostFromContainerRuntime: test-host:1234

pkg/client/test.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
{"host":"test-host:5432","hostFromContainerRuntime":"test-host:1234","help":"https://k3d.io/usage/guides/registries/#using-a-local-registry"}
1+
{"host":"test-host:5432","hostFromContainerRuntime":"test-host:1234","help":"https://k3d.io/stable/usage/registries/#using-a-local-registry"}

0 commit comments

Comments
 (0)