Skip to content

Commit 43ed728

Browse files
chore: Fix docs links (#1171)
* update all old docs links
1 parent 28a3be8 commit 43ed728

File tree

5 files changed

+8
-8
lines changed

5 files changed

+8
-8
lines changed

CONTRIBUTING.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ Think you've found a bug? Let us know!
2525

2626
Security is a top priority for us. If you have encountered a security issue
2727
please responsibly disclose it by following our [security
28-
disclosure](https://circleci.com/docs/2.0/security/) document.
28+
disclosure](https://circleci.com/security/) document.
2929

3030
# Creating an Issue
3131

cmd/orb.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1306,7 +1306,7 @@ func initOrb(opts orbOptions) error {
13061306
if vcsProvider == "GitHub" {
13071307
iprompt = &survey.Input{
13081308
Message: fmt.Sprintf("If your organization is using CircleCI’s GitHub App integration (see %s to check), enter your organization ID found in Organization Settings. If not, enter your organization name as a string.",
1309-
"https://circleci.com/docs/github-apps-integration/"),
1309+
"https://circleci.com/docs/guides/integration/github-apps-integration/"),
13101310
}
13111311
}
13121312
err = survey.AskOne(iprompt, &ownerName)
@@ -1668,7 +1668,7 @@ func finalizeOrbInit(ownerName string, vcsProvider string, vcsShort string, name
16681668

16691669
if !opts.private {
16701670
fmt.Printf("Once the first public version is published, you'll be able to see it here: https://circleci.com/developer/orbs/orb/%s/%s\n", namespace, orbName)
1671-
fmt.Println("View orb publishing doc: https://circleci.com/docs/2.0/orb-author")
1671+
fmt.Println("View orb publishing doc: https://circleci.com/docs/orbs/author/orb-author/")
16721672
}
16731673

16741674
return nil

cmd/orb_test.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ var _ = Describe("Orb integration tests", func() {
8181
Expect(err).ShouldNot(HaveOccurred())
8282

8383
Eventually(session.Err).Should(gbytes.Say("Operate on orbs"))
84-
Eventually(session.Err).Should(gbytes.Say("See a full explanation and documentation on orbs here: https://circleci.com/docs/2.0/orb-intro/"))
84+
Eventually(session.Err).Should(gbytes.Say("See a full explanation and documentation on orbs here: https://circleci.com/docs/orbs/use/orb-intro/"))
8585

8686
Eventually(session).Should(gexec.Exit(0))
8787
})
@@ -110,7 +110,7 @@ var _ = Describe("Orb integration tests", func() {
110110
session, err := gexec.Start(command, GinkgoWriter, GinkgoWriter)
111111
Expect(err).ShouldNot(HaveOccurred())
112112

113-
Consistently(session.Out).ShouldNot(gbytes.Say("See a full explanation and documentation on orbs here: https://circleci.com/docs/2.0/orb-intro/"))
113+
Consistently(session.Out).ShouldNot(gbytes.Say("See a full explanation and documentation on orbs here: https://circleci.com/docs/orbs/use/orb-intro/"))
114114
Eventually(session).Should(gexec.Exit(0))
115115
})
116116
})

data/data.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,8 @@ var Data = DataBag{
1414
OrbDocs string
1515
NewAPIToken string
1616
}{
17-
CLIDocs: "https://circleci.com/docs/2.0/local-cli/",
18-
OrbDocs: "https://circleci.com/docs/2.0/orb-intro/",
17+
CLIDocs: "https://circleci.com/docs/guides/toolkit/local-cli/",
18+
OrbDocs: "https://circleci.com/docs/orbs/use/orb-intro/",
1919
NewAPIToken: "https://circleci.com/account/api",
2020
},
2121
}

integration_tests/features/root_commands.feature

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ Feature: Root Commands
1717
When I run `circleci help`
1818
Then the output should not contain:
1919
"""
20-
For more help, see the documentation here: https://circleci.com/docs/2.0/local-cli/
20+
For more help, see the documentation here: https://circleci.com/docs/guides/toolkit/local-cli/
2121
"""
2222
And the exit status should be 0
2323

0 commit comments

Comments
 (0)