From 5f12da5092f9be94ad73baf61df0c073a5635226 Mon Sep 17 00:00:00 2001 From: Abel Soares Siqueira Date: Fri, 22 Sep 2023 15:49:24 +0200 Subject: [PATCH] Add configuration to md link check and ignore Documenter (at)ref --- .markdown-link-config.json | 7 +++++++ .pre-commit-config.yaml | 2 ++ 2 files changed, 9 insertions(+) create mode 100644 .markdown-link-config.json diff --git a/.markdown-link-config.json b/.markdown-link-config.json new file mode 100644 index 00000000..de14e9ec --- /dev/null +++ b/.markdown-link-config.json @@ -0,0 +1,7 @@ +{ + "ignorePatterns": [ + { + "pattern": "@ref" + } + ] +} diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 084d359d..fd61345f 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -51,3 +51,5 @@ repos: rev: v3.11.2 hooks: - id: markdown-link-check + args: + - --config=.markdown-link-config.json