From 5af7bec279a4f4ebb6064ae72af9c859cb5a5ad8 Mon Sep 17 00:00:00 2001 From: "Chayim I. Kirshen" Date: Tue, 8 Nov 2022 10:00:33 +0200 Subject: [PATCH 1/3] link check --- .github/workflows/linkcheck.yml | 20 ++++++++++++++++++++ mlc_config.json | 10 ++++++++++ 2 files changed, 30 insertions(+) create mode 100644 .github/workflows/linkcheck.yml create mode 100644 mlc_config.json diff --git a/.github/workflows/linkcheck.yml b/.github/workflows/linkcheck.yml new file mode 100644 index 00000000..0f800ecf --- /dev/null +++ b/.github/workflows/linkcheck.yml @@ -0,0 +1,20 @@ +name: Check links + +on: + pull_request: + push: + branches: + - main + +jobs: + markdown-link-check: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v3 + + # https://github.com/marketplace/actions/markdown-link-check + - uses: gaurav-nelson/github-action-markdown-link-check@v1 + with: + use-quiet-mode: 'yes' + max-depth: 6 + config-file: 'mlc_config.json' diff --git a/mlc_config.json b/mlc_config.json new file mode 100644 index 00000000..76af7fd9 --- /dev/null +++ b/mlc_config.json @@ -0,0 +1,10 @@ +{ + "httpHeaders": [ + { + "urls": ["https://github.com/", "https://guides.github.com/", "https://help.github.com/", "https://docs.github.com/"], + "headers": { + "Accept-Encoding": "zstd, br, gzip, deflate" + } + } + ] +} From e5113d5923e8553c5f1bd0c125a98c265e94fa7c Mon Sep 17 00:00:00 2001 From: "Chayim I. Kirshen" Date: Tue, 15 Nov 2022 15:16:23 +0200 Subject: [PATCH 2/3] spellcheck fix, since we are already here --- dictionary.txt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/dictionary.txt b/dictionary.txt index 7de53554..1c7362c0 100644 --- a/dictionary.txt +++ b/dictionary.txt @@ -90,11 +90,13 @@ RedisGraph RedisInsight RedisJSON RedisTimeSeries +REPL SDK SRANDMEMBER SSPL Scarlett SkeletonApplication +Slowlog SortOrder.ASC Springfox Stapleton's From bc9f486f2961c72e2a782c6fea2e4efd7585c065 Mon Sep 17 00:00:00 2001 From: "Chayim I. Kirshen" Date: Mon, 21 Nov 2022 12:45:43 +0200 Subject: [PATCH 3/3] replacement pattern with root --- mlc_config.json | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/mlc_config.json b/mlc_config.json index 76af7fd9..3ac7deee 100644 --- a/mlc_config.json +++ b/mlc_config.json @@ -1,4 +1,10 @@ { + "replacementPatterns": [ + { + "pattern": "^/", + "replacement": "{{BASEURL}}/" + } + ], "httpHeaders": [ { "urls": ["https://github.com/", "https://guides.github.com/", "https://help.github.com/", "https://docs.github.com/"],