Skip to content

Commit

Permalink
docs: fix broken link and slow down linkinator job (#3549)
Browse files Browse the repository at this point in the history
(cherry picked from commit 00d9fa1)
  • Loading branch information
addetz committed Aug 6, 2024
1 parent 90cf9f7 commit 4022268
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,7 @@ pdf-local: ## Generate PDF from local docs
verify-url-links:
@echo "Checking for broken external URLs in markdown files..."
rm link_report.csv || echo "No report exists. Proceeding to scan step"
@npx linkinator "docs/**/*.md" --markdown --recurse --timeout 60000 --retry --retry-errors-jitter --retry-errors-count 3 \
@npx linkinator "docs/**/*.md" --concurrency 50 --markdown --recurse --timeout 100000 --retry --retry-errors-jitter --retry-errors-count 5 \
--skip "^https:\/\/docs\.spectrocloud\.com.*$$" \
--skip "^https:\/\/docs\.spectrocloud\.com\/.*\/supplemental\-packs$$" \
--skip "^http:\/\/docs\.spectrocloud\.com.*$$" \
Expand All @@ -186,7 +186,7 @@ verify-url-links:
verify-url-links-ci: ## Check for broken URLs in production in a GitHub Actions CI environment
@echo "Checking for broken external URLs in CI environment..."
rm link_report.json || echo "No report exists. Proceeding to scan step"
@npx linkinator "docs/**/*.md" --markdown --recurse --timeout 60000 --retry-errors-jitter --retry --retry-errors-count 5 \
@npx linkinator "docs/**/*.md" --concurrency 50 --markdown --recurse --timeout 100000 --retry-errors-jitter --retry --retry-errors-count 5 \
--skip "^https:\/\/docs\.spectrocloud\.com.*$$" \
--skip "^https:\/\/docs\.spectrocloud\.com\/.*\/supplemental\-packs$$" \
--skip "^http:\/\/docs\.spectrocloud\.com.*$$" \
Expand Down
2 changes: 1 addition & 1 deletion docs/deprecated/integrations/prometheus-operator.md
Original file line number Diff line number Diff line change
Expand Up @@ -1233,7 +1233,7 @@ data "spectrocloud_pack_simple" "pack-info" {

- [Prometheus Remote Write Tuning](https://prometheus.io/docs/practices/remote_write)

- [Thanos & Prometheus](https://prometheus-operator.dev/docs/operator/thanos)
- [Thanos & Prometheus](https://prometheus-operator.dev/docs/platform/thanos/)

- [Prometheus FAQ](https://prometheus.io/docs/introduction/faq)

Expand Down

0 comments on commit 4022268

Please sign in to comment.