From 2c596c9d4f2d6b5ca59d23fa034ca2078a65a87e Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?S=C3=B6ren=20Henning?= <soeren.henning@email.uni-kiel.de>
Date: Fri, 3 Dec 2021 20:06:12 +0100
Subject: [PATCH] Ignore empty hash hrefs to prevent false error

Arguably a bug in HTMLProofer, ref: gjtorikian/html-proofer#118
---
 .gitlab-ci.yml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index daf965161..88b1ffe82 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -51,7 +51,7 @@ test-docs-links:
     - gem install bundler
     - bundle config set --local path 'vendor'
     - bundle install
-  script: bundle exec htmlproofer --assume-extension ./_site
+  script: bundle exec htmlproofer --assume-extension --allow_hash_href ./_site
 
 
 # Theodolite Helm Chart
-- 
GitLab