Skip to content

Commit 0273a67

Browse files
author
markzegarelli
committed
merge master
2 parents 0fc2c94 + b38fe81 commit 0273a67

File tree

55 files changed

+2253
-1947
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

55 files changed

+2253
-1947
lines changed

.github/release.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ changelog:
44
- automated-reposync-pr
55
- autoupdate
66
- back-end
7+
- release
78
authors:
89
- bot-docsteam
910
categories:

.github/workflows/check-links.yml

Lines changed: 27 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -12,34 +12,34 @@ on:
1212

1313
jobs:
1414
checklinks:
15-
if: github.repository == 'segmentio/segment-docs-private'
15+
if: github.repository == 'segmentio/segment-docs'
1616
name: Linux
1717
runs-on: ubuntu-latest
1818
strategy:
1919
fail-fast: false
20-
# steps:
21-
# - uses: actions/checkout@v2
22-
# - name: Ruby
23-
# uses: ruby/setup-ruby@v1
24-
# with:
25-
# ruby-version: 2.6 # Not needed with a .ruby-version file
26-
# bundler-cache: true # runs 'bundle install' and caches installed gems automatically
27-
# - name: Yarn install
28-
# run: yarn install
29-
# - name: Build jekyll website with
30-
# run: bundle exec jekyll build
31-
# - name: Check for broken links
32-
# run: |
33-
# yarn run hyperlink ./_site/index.html --canonicalroot https://segment.com/docs -i -r --skip 0.0.0.0 | yarn run tap-spot > output.md
34-
# continue-on-error: true
35-
# - name: Archive log links
36-
# uses: actions/upload-artifact@v1
37-
# with:
38-
# name: links-check.log
39-
# path: output.md
40-
# - name: Create Issue From File
41-
# uses: peter-evans/create-issue-from-file@v2
42-
# with:
43-
# title: Link Checker Report
44-
# content-filepath: output.md
45-
# labels: report, automated issue
20+
steps:
21+
- uses: actions/checkout@v2
22+
- name: Ruby
23+
uses: ruby/setup-ruby@v1
24+
with:
25+
ruby-version: 2.6 # Not needed with a .ruby-version file
26+
bundler-cache: true # runs 'bundle install' and caches installed gems automatically
27+
- name: Yarn install
28+
run: yarn install
29+
- name: Build jekyll website with
30+
run: bundle exec jekyll build
31+
- name: Link Checker
32+
uses: lycheeverse/[email protected]
33+
with:
34+
args: --no-progress _site/**/*.html -a 429 -c ./lychee.toml
35+
env:
36+
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}
37+
# - name: "exclude non-400 errors"
38+
# run: |
39+
# sudo grep -v "error sending request" ./lychee/out.md > ./lychee/out2.md
40+
- name: Create Issue From File
41+
uses: peter-evans/create-issue-from-file@v3
42+
with:
43+
title: Link Checker Report
44+
content-filepath: ./lychee/out.md
45+
labels: report, automated issue

.github/workflows/unallowed-contributions.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ on:
2222

2323
jobs:
2424
triage:
25-
if: github.repository == 'segmentio/segment-docs' && (github.event.pull_request.user.login != 'markzegarelli' || github.event.pull_request.user.login != 'stayseesong' || github.event.pull_request.user.login != 'pwseg')
25+
if: github.repository == 'segmentio/segment-docs' && github.event.pull_request.user.login != 'markzegarelli' || github.event.pull_request.user.login != 'stayseesong' || github.event.pull_request.user.login != 'pwseg'
2626
runs-on: ubuntu-latest
2727
steps:
2828
- name: Get files changed
@@ -93,4 +93,4 @@ jobs:
9393
console.log("Error creating comment.", err)
9494
}
9595
96-
core.setFailed(workflowFailMessage)
96+
core.setFailed(workflowFailMessage)

lychee.toml

Lines changed: 74 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,74 @@
1+
###
2+
### Display
3+
###
4+
# Verbose program output
5+
verbose = false
6+
7+
# Show progress
8+
progress = true
9+
10+
11+
###
12+
### Runtime
13+
###
14+
# Number of threads to utilize.
15+
# Defaults to number of cores available to the system if omitted.
16+
#threads = 2
17+
18+
# Maximum number of allowed redirects
19+
max_redirects = 10
20+
21+
22+
###
23+
### Requests
24+
###
25+
# User agent to send with each request
26+
user_agent = "lychee/0.8.0"
27+
28+
# Website timeout from connect to response finished
29+
timeout = 30
30+
31+
# Comma-separated list of accepted status codes for valid links.
32+
# Omit to accept all response types.
33+
#accept = "text/html"
34+
35+
# Proceed for server connections considered insecure (invalid TLS)
36+
insecure = false
37+
38+
# Only test links with the given scheme (e.g. https)
39+
# Omit to check links with any scheme
40+
scheme = ['https', 'http']
41+
42+
# Request method
43+
method = "get"
44+
45+
# Custom request headers
46+
headers = []
47+
48+
49+
###
50+
### Exclusions
51+
###
52+
# Exclude URLs from checking (supports regex)
53+
exclude = ['https://ajs.cd.segment.com/analytics.js/v1/','http://0.0.0.0:4000','https://api.segment.io/v1/', 'https://segment.com/docs/assets/docs.bundle.js','https://www.linkedin.com', 'https://segment.com/jobs/', 'https://segment.com/press/', 'https://github.com/segmentio', 'https://unpkg.com/@segment/[email protected]/standalone/consent-manager.js', '(segment.com)', '(segmentapis.com)', '(example.com)', '(schema.org)','(maxcdn)']
54+
55+
# Exclude URLs contained in a file from checking
56+
exclude_file = []
57+
58+
include = []
59+
60+
# Exclude all private IPs from checking
61+
# Equivalent to setting `exclude_private`, `exclude_link_local`, and `exclude_loopback` to true
62+
exclude_all_private = true
63+
64+
# Exclude private IP address ranges from checking
65+
exclude_private = false
66+
67+
# Exclude link-local IP address range from checking
68+
exclude_link_local = true
69+
70+
# Exclude loopback IP address range and localhost from checking
71+
exclude_loopback = false
72+
73+
# Exclude all mail addresses from checking
74+
exclude_mail = true

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@
5353
"handlebars": "^4.7.7",
5454
"search-insights": "^2.0.3",
5555
"tap-spot": "^1.1.1",
56-
"tippy.js": "^6.3.1",
56+
"tippy.js": "5.2.0",
5757
"typewriter": "^7.4.1",
5858
"webpack-dotenv-plugin": "^2.1.0"
5959
}

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 2021-10-22
2+
# destination categories last updated 2021-11-09
33
items:
44
- display_name: A/B Testing
55
slug: a-b-testing

0 commit comments

Comments
 (0)