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/05 14:29:40 UTC
[camel-website] 01/03: 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 pr/remove-relative-links
in repository https://gitbox.apache.org/repos/asf/camel-website.git
commit 885d638c56b545ba5a84baca5253afa2df9a6669
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"
}
}