From 1769f7ef31a3c0a2886a5a732da6e63ec29eb18f Mon Sep 17 00:00:00 2001 From: Steven Silvester Date: Fri, 19 Jan 2024 11:27:17 -0600 Subject: [PATCH] GODRIVER-3089 [master] Add link checkers for repository (#1523) --- .pre-commit-config.yaml | 6 ++++++ docs/CONTRIBUTING.md | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index d1822ef78e..0eb75d57b0 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -44,6 +44,12 @@ repos: exclude: ^(vendor/|internal/benchmark/operation_test.go) exclude_types: [json,yaml,pem] +- repo: https://github.com/tcort/markdown-link-check + rev: v3.11.2 + hooks: + - id: markdown-link-check + exclude: ^(vendor) + - repo: https://github.com/golangci/golangci-lint rev: v1.55.1 hooks: diff --git a/docs/CONTRIBUTING.md b/docs/CONTRIBUTING.md index 95dbf3e0f0..3abd49d7b3 100644 --- a/docs/CONTRIBUTING.md +++ b/docs/CONTRIBUTING.md @@ -211,4 +211,4 @@ TOPOLOGY=sharded_cluster bash etc/run_docker.sh evg-test-enterprise-auth ## Talk To Us -If you want to work on the driver, write documentation, or have questions/complaints, please reach out to us either via [MongoDB Community Forums](https://community.mongodb.com/tags/c/drivers-odms-connectors/7/go-driver) or by creating a Question issue in [Jira](https://jira.mongodb.org/secure/CreateIssue!default.jspa). +If you want to work on the driver, write documentation, or have questions/complaints, please reach out to us either via [MongoDB Community Forums](https://www.mongodb.com/community/forums/tag/go-driver) or by creating a Question issue in [Jira](https://jira.mongodb.org/secure/CreateIssue!default.jspa).