From 00822ef278776f703bcbf589cdcd2e9db92cfe71 Mon Sep 17 00:00:00 2001 From: Remi Gau Date: Wed, 20 Mar 2024 16:30:37 -0400 Subject: [PATCH 1/7] add link check --- .github/workflows/check_md_links.yml | 28 ++++++++++++++++++++++++++++ mlc_config.json | 4 ++++ 2 files changed, 32 insertions(+) create mode 100644 .github/workflows/check_md_links.yml create mode 100644 mlc_config.json diff --git a/.github/workflows/check_md_links.yml b/.github/workflows/check_md_links.yml new file mode 100644 index 000000000..b39fa35a6 --- /dev/null +++ b/.github/workflows/check_md_links.yml @@ -0,0 +1,28 @@ +--- +name: Check Markdown links + +# checking for any dead links in markdown files + +concurrency: + group: ${{ github.workflow }}-${{ github.ref }} + cancel-in-progress: true + +on: + push: + branches: + - main + pull_request: + branches: ['*'] + +jobs: + markdown-link-check: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + - uses: gaurav-nelson/github-action-markdown-link-check@v1 + with: + config-file: ./mlc_config.json + folder-path: ./docs/ + use-verbose-mode: yes + max-depth: -1 + file-path: ./README.md, diff --git a/mlc_config.json b/mlc_config.json new file mode 100644 index 000000000..c2988005e --- /dev/null +++ b/mlc_config.json @@ -0,0 +1,4 @@ +{ + "ignorePatterns": [ + ] +} From 2fe0d3b7b21175896ebc2155e72636b924aec8fa Mon Sep 17 00:00:00 2001 From: Remi Gau Date: Wed, 20 Mar 2024 16:43:12 -0400 Subject: [PATCH 2/7] fix --- docs/01_introduction.md | 4 ++-- mlc_config.json | 2 ++ 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/docs/01_introduction.md b/docs/01_introduction.md index 524ebf973..a8ecddcfa 100644 --- a/docs/01_introduction.md +++ b/docs/01_introduction.md @@ -2,7 +2,7 @@ ??? example "Tl;DR - Advantages of the current schema representation" - Rich contexts for a questionnaire with JSON-LD rather than a "flat" csv file. - - A single source of curated assessments from [ReproSchema Library](https://github.com/reproschema-library) + - A single source of curated assessments from [ReproSchema Library](https://github.com/ReproNim/reproschema-library) - Each `item` (i.e question), `activity` (i.e questionnaire), and `protocol` (i.e set of questionnaires) provides unique and persistent identifiers. - Versions of a given questionnaire can be tracked (e.g., PHQ-9, PHQ-8). @@ -126,7 +126,7 @@ displayed to the user and under which conditions, should be computed The ReproSchema also allows for internationalization and multiple languages support -by making it very easy to keep everything the same +by making it very easy to keep everything the same except the language displayed by the user interface. Finally ReproSchema allows tracking of variations and version of different assessments diff --git a/mlc_config.json b/mlc_config.json index c2988005e..08de8e94b 100644 --- a/mlc_config.json +++ b/mlc_config.json @@ -1,4 +1,6 @@ { "ignorePatterns": [ + {"pattern": "http://127.0.0.1:8000/"}, + {"pattern": " https://jsonformatter.curiousconcept.com/"} ] } From d45e53e7bcdc997bffc8e32d08451820c9318bdb Mon Sep 17 00:00:00 2001 From: Remi Gau Date: Mon, 22 Apr 2024 16:05:50 +0200 Subject: [PATCH 3/7] Apply suggestions from code review --- mlc_config.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/mlc_config.json b/mlc_config.json index 08de8e94b..70e5a38b3 100644 --- a/mlc_config.json +++ b/mlc_config.json @@ -1,6 +1,7 @@ { "ignorePatterns": [ {"pattern": "http://127.0.0.1:8000/"}, - {"pattern": " https://jsonformatter.curiousconcept.com/"} + {"pattern": " https://jsonformatter.curiousconcept.com/"}, + {"pattern": " https://schema.repronim.org/"} ] } From 5c8d4d5de6ea1c3d4f598f6df365c4169a9083c0 Mon Sep 17 00:00:00 2001 From: Remi Gau Date: Mon, 22 Apr 2024 18:22:24 +0200 Subject: [PATCH 4/7] Update mlc_config.json --- mlc_config.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mlc_config.json b/mlc_config.json index 70e5a38b3..e76e3562e 100644 --- a/mlc_config.json +++ b/mlc_config.json @@ -2,6 +2,6 @@ "ignorePatterns": [ {"pattern": "http://127.0.0.1:8000/"}, {"pattern": " https://jsonformatter.curiousconcept.com/"}, - {"pattern": " https://schema.repronim.org/"} + {"pattern": " https://schema.repronim.org/.*"} ] } From 82815f10be1bb885200a4e20d97917018659f146 Mon Sep 17 00:00:00 2001 From: Remi Gau Date: Mon, 22 Apr 2024 18:26:00 +0200 Subject: [PATCH 5/7] Update mlc_config.json --- mlc_config.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/mlc_config.json b/mlc_config.json index e76e3562e..ce695ede9 100644 --- a/mlc_config.json +++ b/mlc_config.json @@ -1,7 +1,7 @@ { "ignorePatterns": [ {"pattern": "http://127.0.0.1:8000/"}, - {"pattern": " https://jsonformatter.curiousconcept.com/"}, - {"pattern": " https://schema.repronim.org/.*"} + {"pattern": "^https://jsonformatter.curiousconcept.com/"}, + {"pattern": "^https://schema.repronim.org/.*"} ] } From e6ff6200bf33be00d00734ebd547e7a1986e968e Mon Sep 17 00:00:00 2001 From: Remi Gau Date: Mon, 22 Apr 2024 18:40:27 +0200 Subject: [PATCH 6/7] Update mlc_config.json --- mlc_config.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mlc_config.json b/mlc_config.json index ce695ede9..e0b8bc147 100644 --- a/mlc_config.json +++ b/mlc_config.json @@ -2,6 +2,6 @@ "ignorePatterns": [ {"pattern": "http://127.0.0.1:8000/"}, {"pattern": "^https://jsonformatter.curiousconcept.com/"}, - {"pattern": "^https://schema.repronim.org/.*"} + {"pattern": "^http.*://schema.repronim.org/.*"} ] } From 208d5f83b7c27829ddeba1627a4c9e069e67ecda Mon Sep 17 00:00:00 2001 From: Remi Gau Date: Mon, 22 Apr 2024 22:55:08 +0200 Subject: [PATCH 7/7] Update mlc_config.json --- mlc_config.json | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/mlc_config.json b/mlc_config.json index e0b8bc147..850a03bdf 100644 --- a/mlc_config.json +++ b/mlc_config.json @@ -2,6 +2,8 @@ "ignorePatterns": [ {"pattern": "http://127.0.0.1:8000/"}, {"pattern": "^https://jsonformatter.curiousconcept.com/"}, - {"pattern": "^http.*://schema.repronim.org/.*"} + {"pattern": "^http.*://schema.repronim.org/.*"}, + {"pattern": "^http://schema.org/version/2.0/"} + ] }