From cae3f3b563aaea6cbd03bbeb538a6a34a31522be Mon Sep 17 00:00:00 2001 From: Trask Stalnaker Date: Tue, 7 Jan 2025 18:13:15 -0800 Subject: [PATCH] perf --- .lychee.toml | 6 +++++- Makefile | 1 - 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/.lychee.toml b/.lychee.toml index 27ebc8652..0bb4c144e 100644 --- a/.lychee.toml +++ b/.lychee.toml @@ -3,7 +3,11 @@ include_fragments = true accept = ["200..=299", "401", "403"] exclude = [ - "https://slack.com/help/articles/8328303095443-Understand-Channel-Managers-in-Slack" + "https://slack.com/help/articles/8328303095443-Understand-Channel-Managers-in-Slack", + # excluding links to user profiles is done for performance + # because there are a lot of links to user profiles in this repository + # and GitHub extra throttles access to user profile pages + "^https://github.com/[^/]+$" ] # better to be safe and avoid failures diff --git a/Makefile b/Makefile index 85c4bb75b..406c2e9e8 100644 --- a/Makefile +++ b/Makefile @@ -17,7 +17,6 @@ table-check: .PHONY: markdown-link-check markdown-link-check: - docker pull lycheeverse/lychee docker run --rm \ --mount 'type=bind,source=$(PWD),target=/home/repo' \ lycheeverse/lychee \