Skip to content

Commit 7cc8b3b

Browse files
committed
add clarifying comments
1 parent f1b2a41 commit 7cc8b3b

2 files changed

Lines changed: 11 additions & 0 deletions

File tree

.github/workflows/link-check-test.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@ jobs:
3838
name: Install
3939
run: npm ci
4040

41+
## TODO
4142
# - if: ${{ github.repository == 'github/docs-internal' && needs.see_if_should_skip.outputs.should_skip != 'true' }}
4243
# name: Clone early access
4344
# run: npm run heroku-postbuild

script/check-internal-links.js

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,18 @@ const linkinator = require('linkinator')
44
const checker = new linkinator.LinkChecker()
55
const { deprecated } = require('../lib/enterprise-server-releases')
66

7+
// [start-readme]
8+
//
9+
// This script runs in CI via GitHub Action to check all *internal* links in English content,
10+
// not including deprecated Enterprise Server content. This is different from script/check-english-links.js,
11+
// which checks *all* links in the site, both internal and external, and is much slower.
12+
//
13+
// [end-readme]
14+
715
const config = {
816
path: 'http://localhost:4002/en',
17+
// Use concurrency = 10 to optimize for Actions
18+
// See https://github.com/JustinBeckwith/linkinator/issues/135#issuecomment-623240879
919
concurrency: 10,
1020
recurse: true,
1121
linksToSkip: [

0 commit comments

Comments
 (0)