You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by zr...@apache.org on 2020/11/18 15:30:50 UTC
[camel-website] 01/05: chore: fail the build if absolute links are
found
This is an automated email from the ASF dual-hosted git repository.
zregvart pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/camel-website.git
commit 16d0bc7bed308ccd1d87a93023588dfbc5e82f7d
Author: Zoran Regvart <zr...@apache.org>
AuthorDate: Mon Nov 2 21:43:20 2020 +0100
chore: fail the build if absolute links are found
Absolute links to https://camel.apache.org won't be validated and can
therefore break if content is moved or removed. They also break local
development if followed they lead to the live site instead of the local
previewed site.
---
.htmlvalidate.json | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/.htmlvalidate.json b/.htmlvalidate.json
index 64899fb..5838c736 100644
--- a/.htmlvalidate.json
+++ b/.htmlvalidate.json
@@ -13,6 +13,7 @@
"prefer-tbody": "off",
"long-title": "off",
"camel/title": "error",
- "camel/structured-data": "error"
+ "camel/structured-data": "error",
+ "camel/relative-links": "error"
}
}