Skip to content

Commit 457311e

Browse files
committed
chore: fix broken links
1 parent 0bb2470 commit 457311e

File tree

14 files changed

+71
-65
lines changed

14 files changed

+71
-65
lines changed

.github/workflows/links.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,10 @@ jobs:
3232
--exclude 'api.hetzner.cloud'
3333
--exclude 'api.hetzner.com'
3434
--exclude 'codecov.io'
35+
--exclude 'github.com'
3536
--exclude '169.254.169.254'
37+
--exclude 'https://docs.hetzner.cloud/changelog#new-product'
38+
--exclude 'https://style-guide.europa.eu/en/content/-/isg/topic'
39+
--exclude 'https://www.hetzner.com/news/arm64-cloud'
3640
'**/*.md'
3741
'**/*.go'

CHANGELOG.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ hcloud storage-box enable-snapshot-plan backups \
8080

8181
This release adds support for the new [DNS API](https://docs.hetzner.cloud/reference/cloud#dns).
8282

83-
The DNS API is currently in **beta**, which will likely end on 10 November 2025. After the beta ended, it will no longer be possible to create new zones in the old DNS system. See the [DNS Beta FAQ](https://docs.hetzner.com/networking/dns/faq/beta) for more details.
83+
The DNS API is currently in **beta**, which will likely end on 10 November 2025. After the beta ended, it will no longer be possible to create new zones in the old DNS system. See the [DNS Beta FAQ](https://docs.hetzner.com/networking/dns/faq/beta/) for more details.
8484

8585
Future minor releases of this project may include breaking changes for features that are related to the DNS API.
8686

docs/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,4 +11,4 @@ This documentation is written and organized following the [Diátaxis](https://di
1111
## Getting help
1212

1313
- 🐛 Report bugs using [our issue tracker](https://github.com/hetznercloud/cli/issues/new?template=bug.yaml).
14-
- 🙋 If you need help, reach us using the [Support Center](https://console.hetzner.cloud/support).
14+
- 🙋 If you need help, reach us using the [Support Center](https://console.hetzner.com/support).

docs/guides/using-output-options.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ $ hcloud location list --output yaml | yq '.[] | [{"id": .id, "name": .name}]'
116116
## Go Template Format
117117

118118
`describe` commands support the Go string template format as well. You can read up on the syntax in the
119-
[Go documentation](https://pkg.go.dev/text/template/). The data structures passed to the template are defined
119+
[Go documentation](https://pkg.go.dev/text/template). The data structures passed to the template are defined
120120
by our API and can be found in [hcloud-go](https://pkg.go.dev/github.com/hetznercloud/hcloud-go/v2/hcloud/schema).
121121

122122
For example, you could obtain the number of cores of a server using the following command:

docs/reference/manual/hcloud_zone_change-primary-nameservers.md

Lines changed: 2 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

docs/tutorials/setup-hcloud-cli.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ This tutorial will guide you through the process of setting up the hcloud CLI on
66

77
Before you begin, ensure you have the following:
88

9-
- A [Hetzner Cloud account](https://console.hetzner.cloud).
9+
- A [Hetzner Cloud account](https://console.hetzner.com).
1010

1111
## 1. Install the hcloud CLI
1212

@@ -144,7 +144,7 @@ and source this file from your PowerShell profile.
144144
The hcloud CLI uses contexts to manage multiple Hetzner Cloud tokens and set configuration preferences.
145145

146146
First, you need to create an API token.
147-
Follow the instructions in the [Hetzner Cloud documentation](https://docs.hetzner.com/cloud/api/getting-started/generating-api-token) to create your project API token.
147+
Follow the instructions in the [Hetzner Cloud documentation](https://docs.hetzner.com/cloud/api/getting-started/generating-api-token/) to create your project API token.
148148

149149
Once you have your token, you can create a context using the following command:
150150

@@ -179,4 +179,4 @@ ID NAME DESCRIPTION LOCATION
179179
If you see this output, congratulations! You have successfully set up the hcloud CLI on your local machine.
180180

181181
If there are any problems, make sure you followed all steps of this tutorial correctly. If there still are problems,
182-
you can reach out to our [Support](https://console.hetzner.cloud/support) to get help.
182+
you can reach out to our [Support](https://console.hetzner.com/support) to get help.

internal/cmd/config/add_test.go

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ func TestAdd(t *testing.T) {
4444
token = "super secret token"
4545
[contexts.preferences]
4646
array_option = ["1", "2", "3"]
47-
endpoint = "https://test-endpoint.com"
47+
endpoint = "https://example.com"
4848
quiet = true
4949
[contexts.preferences.nested]
5050
array_option = ["1", "2", "3"]
@@ -83,7 +83,7 @@ active_context = "test_context"
8383
token = "super secret token"
8484
[contexts.preferences]
8585
array_option = ["1", "2", "3", "a", "b", "c"]
86-
endpoint = "https://test-endpoint.com"
86+
endpoint = "https://example.com"
8787
quiet = true
8888
[contexts.preferences.nested]
8989
array_option = ["1", "2", "3"]
@@ -111,7 +111,7 @@ active_context = "test_context"
111111
token = "super secret token"
112112
[contexts.preferences]
113113
array_option = ["1", "2", "3"]
114-
endpoint = "https://test-endpoint.com"
114+
endpoint = "https://example.com"
115115
quiet = true
116116
[contexts.preferences.nested]
117117
array_option = ["1", "2", "3", "a", "b", "c"]
@@ -140,7 +140,7 @@ active_context = "test_context"
140140
token = "super secret token"
141141
[contexts.preferences]
142142
array_option = ["1", "2", "3"]
143-
endpoint = "https://test-endpoint.com"
143+
endpoint = "https://example.com"
144144
quiet = true
145145
[contexts.preferences.nested]
146146
array_option = ["1", "2", "3"]
@@ -170,7 +170,7 @@ active_context = "test_context"
170170
token = "super secret token"
171171
[contexts.preferences]
172172
array_option = ["1", "2", "3"]
173-
endpoint = "https://test-endpoint.com"
173+
endpoint = "https://example.com"
174174
quiet = true
175175
[contexts.preferences.nested]
176176
array_option = ["1", "2", "3"]
@@ -204,7 +204,7 @@ active_context = "test_context"
204204
token = "super secret token"
205205
[contexts.preferences]
206206
array_option = ["1", "2", "3"]
207-
endpoint = "https://test-endpoint.com"
207+
endpoint = "https://example.com"
208208
quiet = true
209209
[contexts.preferences.nested]
210210
array_option = ["1", "2", "3"]

internal/cmd/config/get_test.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ func TestGet(t *testing.T) {
3434
name = "test_context"
3535
token = "super secret token"
3636
[contexts.preferences]
37-
endpoint = "https://test-endpoint.com"
37+
endpoint = "https://example.com"
3838
quiet = true
3939
[contexts.preferences.deeply]
4040
[contexts.preferences.deeply.nested]
@@ -66,7 +66,7 @@ func TestGet(t *testing.T) {
6666
},
6767
{
6868
key: "endpoint",
69-
expOut: "https://test-endpoint.com\n",
69+
expOut: "https://example.com\n",
7070
},
7171
{
7272
key: "poll-interval",

internal/cmd/config/list_test.go

Lines changed: 26 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ func TestList(t *testing.T) {
3434
name = "test_context"
3535
token = "super secret token"
3636
[contexts.preferences]
37-
endpoint = "https://test-endpoint.com"
37+
endpoint = "https://example.com"
3838
quiet = true
3939
[contexts.preferences.deeply]
4040
[contexts.preferences.deeply.nested]
@@ -58,14 +58,14 @@ func TestList(t *testing.T) {
5858
{
5959
name: "default",
6060
args: []string{},
61-
expOut: `KEY VALUE
62-
context test_context
63-
debug yes
64-
deeply.nested.option bar
65-
endpoint https://test-endpoint.com
66-
poll-interval 1.234s
67-
quiet yes
68-
token [redacted]
61+
expOut: `KEY VALUE
62+
context test_context
63+
debug yes
64+
deeply.nested.option bar
65+
endpoint https://example.com
66+
poll-interval 1.234s
67+
quiet yes
68+
token [redacted]
6969
`,
7070
},
7171
{
@@ -84,26 +84,26 @@ token
8484
{
8585
name: "no header",
8686
args: []string{"-o=noheader"},
87-
expOut: `context test_context
88-
debug yes
89-
deeply.nested.option bar
90-
endpoint https://test-endpoint.com
91-
poll-interval 1.234s
92-
quiet yes
93-
token [redacted]
87+
expOut: `context test_context
88+
debug yes
89+
deeply.nested.option bar
90+
endpoint https://example.com
91+
poll-interval 1.234s
92+
quiet yes
93+
token [redacted]
9494
`,
9595
},
9696
{
9797
name: "allow sensitive",
9898
args: []string{"--allow-sensitive"},
99-
expOut: `KEY VALUE
100-
context test_context
101-
debug yes
102-
deeply.nested.option bar
103-
endpoint https://test-endpoint.com
104-
poll-interval 1.234s
105-
quiet yes
106-
token super secret token
99+
expOut: `KEY VALUE
100+
context test_context
101+
debug yes
102+
deeply.nested.option bar
103+
endpoint https://example.com
104+
poll-interval 1.234s
105+
quiet yes
106+
token super secret token
107107
`,
108108
},
109109
{
@@ -125,7 +125,7 @@ token super secret token
125125
},
126126
{
127127
"key": "endpoint",
128-
"value": "https://test-endpoint.com"
128+
"value": "https://example.com"
129129
},
130130
{
131131
"key": "poll-interval",
@@ -165,6 +165,6 @@ token super secret token
165165
func setTestValues(cfg config.Config) {
166166
_ = os.Setenv("HCLOUD_POLL_INTERVAL", "1234ms")
167167
_ = os.Setenv("HCLOUD_DEBUG", "true")
168-
_ = cfg.FlagSet().Set("endpoint", "https://test-endpoint.com")
168+
_ = cfg.FlagSet().Set("endpoint", "https://example.com")
169169
_ = cfg.FlagSet().Set("quiet", "true")
170170
}

internal/cmd/config/remove_test.go

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ func TestRemove(t *testing.T) {
4444
token = "super secret token"
4545
[contexts.preferences]
4646
array_option = ["1", "2", "3"]
47-
endpoint = "https://test-endpoint.com"
47+
endpoint = "https://example.com"
4848
quiet = true
4949
[contexts.preferences.nested]
5050
array_option = ["1", "2", "3"]
@@ -84,7 +84,7 @@ active_context = "test_context"
8484
token = "super secret token"
8585
[contexts.preferences]
8686
array_option = ["1"]
87-
endpoint = "https://test-endpoint.com"
87+
endpoint = "https://example.com"
8888
quiet = true
8989
[contexts.preferences.nested]
9090
array_option = ["1", "2", "3"]
@@ -111,7 +111,7 @@ active_context = "test_context"
111111
name = "test_context"
112112
token = "super secret token"
113113
[contexts.preferences]
114-
endpoint = "https://test-endpoint.com"
114+
endpoint = "https://example.com"
115115
quiet = true
116116
[contexts.preferences.nested]
117117
array_option = ["1", "2", "3"]
@@ -146,7 +146,7 @@ active_context = "test_context"
146146
token = "super secret token"
147147
[contexts.preferences]
148148
array_option = ["1", "2", "3"]
149-
endpoint = "https://test-endpoint.com"
149+
endpoint = "https://example.com"
150150
quiet = true
151151
[contexts.preferences.nested]
152152
array_option = ["1"]
@@ -174,7 +174,7 @@ active_context = "test_context"
174174
token = "super secret token"
175175
[contexts.preferences]
176176
array_option = ["1", "2", "3"]
177-
endpoint = "https://test-endpoint.com"
177+
endpoint = "https://example.com"
178178
quiet = true
179179
180180
[[contexts]]

0 commit comments

Comments
 (0)