From 9f5386995cc2bf15a2a6fc06c25018210f45f860 Mon Sep 17 00:00:00 2001
From: Nacho Barrientos <nacho.barrientos@cern.ch>
Date: Tue, 11 Mar 2025 15:03:42 +0100
Subject: [PATCH] Fix linkcheckmd invocation for a directory
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

Before the patch:

λ python3 -m linkcheckmd -v docs/*
__main__.py: error: unrecognized arguments: ./docs/metrics.md ./docs/values.md
---
 .gitlab-ci.yml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 8e1999f..1f74bfc 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -21,7 +21,7 @@ docs_lint:
     - dnf install -y python-pip
     - python3 -m pip install linkcheckmd
     - python3 -m linkcheckmd -v README.md
-    - python3 -m linkcheckmd -v docs/*
+    - python3 -m linkcheckmd -v docs
 
 yaml_lint:
   stage: lint
-- 
GitLab