From c8ef41187e497cb57b3e817a3bb1ca587fb40bce Mon Sep 17 00:00:00 2001 From: Max Wolfs Date: Tue, 8 Oct 2024 14:23:43 +0200 Subject: [PATCH] Adjust checks: linter and link checker (#260) * allow relative links from external repos Signed-off-by: Max Wolfs * remove standards repo from linting in docs repo Signed-off-by: Max Wolfs --------- Signed-off-by: Max Wolfs --- .markdownlint-cli2.jsonc | 2 +- docusaurus.config.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.markdownlint-cli2.jsonc b/.markdownlint-cli2.jsonc index abfedce7d5..eb066754bf 100644 --- a/.markdownlint-cli2.jsonc +++ b/.markdownlint-cli2.jsonc @@ -55,6 +55,6 @@ "markdownlint-rule-search-replace", "markdownlint-rule-relative-links" ], - "ignores": ["node_modules", ".github", "docs"], + "ignores": ["node_modules", ".github", "docs", "standards"], "globs": ["**/*.{md}"] } diff --git a/docusaurus.config.js b/docusaurus.config.js index 1ea8281502..16a143bfc8 100644 --- a/docusaurus.config.js +++ b/docusaurus.config.js @@ -9,7 +9,7 @@ const config = { tagline: 'Documentation and Community Platform for the Sovereign Cloud Stack', url: 'https://docs.scs.community', baseUrl: '/', - onBrokenLinks: 'throw', + onBrokenLinks: 'warn', onBrokenMarkdownLinks: 'warn', favicon: 'img/favicon.ico', markdown: {