Skip to content

Commit 0cb4502

Browse files
committed
Merge branch 'DOC-589' of ssh://github.com/segmentio/segment-docs into DOC-589
2 parents bc92e01 + 607e138 commit 0cb4502

File tree

38 files changed

+3393
-788
lines changed

38 files changed

+3393
-788
lines changed

scripts/checklinks-internal.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ const checkForDeadLocalUrls = async () => {
6767
// For ease of checking, replace the localhost domain with the live domain, add those to a new array.
6868
let broke = []
6969
deadUrls.forEach(url => {
70-
link = url.replace('http://localhost:3000', 'https://engage-ga--segment-docs-private.netlify.app/docs')
70+
link = url.replace('http://localhost:3000', 'https://segment.com/docs')
7171
if (!link.endsWith('/')){
7272
link = link+'/'
7373
}
@@ -79,7 +79,7 @@ const checkForDeadLocalUrls = async () => {
7979
// For those, we want to remove them from the list of dead links, because they aren't dead.
8080

8181
// app-nginx redirects
82-
const redirects = ['https://engage-ga--segment-docs-private.netlify.app/docs/guides/usage-and-billing/','https://engage-ga--segment-docs-private.netlify.app/docs/connections/sources/catalog/libraries/website/plugins/', 'https://engage-ga--segment-docs-private.netlify.app/docs/assets/docs.bundle.js/']
82+
const redirects = ['https://segment.com/docs/guides/usage-and-billing/','https://segment.com/docs/connections/sources/catalog/libraries/website/plugins/', 'https://segment.com/docs/assets/docs.bundle.js/']
8383

8484
// Redirects generated by Jekyll
8585
// Pull the redirects json file
@@ -89,7 +89,7 @@ const checkForDeadLocalUrls = async () => {
8989
if (!key.endsWith('/')){
9090
key = key+'/'
9191
}
92-
redirects.push('https://engage-ga--segment-docs-private.netlify.app/docs'+key.replace('/docs',''))
92+
redirects.push('https://segment.com/docs'+key.replace('/docs',''))
9393
})
9494
// Remove the redirect urls from the list of broken URLs
9595
broke = broke.filter(val => !redirects.includes(val));

src/_data/catalog/destination_categories.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# AUTOGENERATED FROM PUBLIC API. DO NOT EDIT
2-
# destination categories last updated 2022-09-29
2+
# destination categories last updated 2022-10-11
33
items:
44
- display_name: A/B Testing
55
slug: a-b-testing

0 commit comments

Comments
 (0)