diff --git a/.github/workflows/markdown-check.yml b/.github/workflows/markdown-check.yml deleted file mode 100644 index 9895ac58dbf..00000000000 --- a/.github/workflows/markdown-check.yml +++ /dev/null @@ -1,14 +0,0 @@ -name: Markdown Check - -on: - pull_request: - types: - - opened - - edited - - synchronize - - reopened - -jobs: - build: - name: Check markdown files formatted consistently - uses: input-output-hk/catalyst-ci/.github/workflows/markdown-check.yml@v2.0.6 diff --git a/.github/workflows/spell-check.yml b/.github/workflows/spell-check.yml deleted file mode 100644 index 97bb1952fbb..00000000000 --- a/.github/workflows/spell-check.yml +++ /dev/null @@ -1,14 +0,0 @@ -name: Spell Check - -on: - pull_request: - types: - - opened - - edited - - synchronize - - reopened - -jobs: - build: - name: Check spelling across all files - uses: input-output-hk/catalyst-ci/.github/workflows/spell-check.yml@v2.0.6 diff --git a/.markdownlint.jsonc b/.markdownlint.jsonc index b58ef2a4d2d..a83548c0262 100644 --- a/.markdownlint.jsonc +++ b/.markdownlint.jsonc @@ -187,7 +187,7 @@ }, // MD042/no-empty-links - No empty links "MD042": true, - // MD043/required-headings/required-headers - Required heading structure + // MD043/required-headings/required-headings - Required heading structure "MD043": { // List of headings "headings": [ diff --git a/.vscode/tasks.recommended.json b/.vscode/tasks.recommended.json index 997095658f1..98225903460 100644 --- a/.vscode/tasks.recommended.json +++ b/.vscode/tasks.recommended.json @@ -4,9 +4,9 @@ { "label": "CI - Recursive Markdown Lint - Check", "type": "shell", - "command": "earthly -P +markdown-check", + "command": "earthly -P +check-markdown", "problemMatcher": { - "owner": "markdown-check", + "owner": "check-markdown", "pattern": { "regexp": "(\\S+):(\\d+):(\\d+)\\s(.+)", "file": 1, @@ -24,7 +24,7 @@ "type": "shell", "command": "earthly -P +markdown-check-fix", "problemMatcher": { - "owner": "markdown-check", + "owner": "markdown-check-fix", "pattern": { "regexp": "(\\S+):(\\d+):(\\d+)\\s(.+)", "file": 1, @@ -40,9 +40,9 @@ { "label": "CI - Recursive Spell Check", "type": "shell", - "command": "earthly -P +spell-check", + "command": "earthly -P +check-spelling", "problemMatcher": { - "owner": "spell-check", + "owner": "check-spelling", "pattern": { "regexp": "([\\S+]+):(\\d+):(\\d+)\\s-\\s(.+)", "file": 1, diff --git a/Earthfile b/Earthfile index 8f3a1b382be..17217947de1 100644 --- a/Earthfile +++ b/Earthfile @@ -5,24 +5,24 @@ FROM debian:stable-slim # cspell: words livedocs sitedocs -markdown-check: - # Check Markdown in this repo. - LOCALLY - - DO github.com/input-output-hk/catalyst-ci/earthly/mdlint:v2.0.9+MDLINT_LOCALLY --src=$(echo ${PWD}) +# check-markdown markdown check using catalyst-ci. +check-markdown: + DO github.com/input-output-hk/catalyst-ci/earthly/mdlint:v2.0.10+CHECK +# markdown-check-fix markdown check and fix using catalyst-ci. markdown-check-fix: - # Check Markdown in this repo. LOCALLY - DO github.com/input-output-hk/catalyst-ci/earthly/mdlint:v2.0.9+MDLINT_LOCALLY --src=$(echo ${PWD}) --fix=--fix + DO github.com/input-output-hk/catalyst-ci/earthly/mdlint:v2.0.10+MDLINT_LOCALLY --src=$(echo ${PWD}) --fix=--fix -spell-check: - # Check spelling in this repo. - LOCALLY +# check-spelling Check spelling in this repo inside a container. +check-spelling: + DO github.com/input-output-hk/catalyst-ci/earthly/cspell:v2.0.10+CHECK + +check: + BUILD +check-spelling + BUILD +check-markdown - DO github.com/input-output-hk/catalyst-ci/earthly/cspell:v2.0.9+CSPELL_LOCALLY --src=$(echo ${PWD}) - repo-docs: # Create artifacts of extra files we embed inside the documentation when its built. FROM scratch diff --git a/docs/src/appendix/important/coc.md b/docs/src/appendix/important/coc.md index 20f13025910..ded021543ef 100644 --- a/docs/src/appendix/important/coc.md +++ b/docs/src/appendix/important/coc.md @@ -4,5 +4,5 @@ title: Code of Conduct --- - + {{ include_file('includes/repo/CODE_OF_CONDUCT.md') }} diff --git a/docs/src/appendix/important/contributing.md b/docs/src/appendix/important/contributing.md index fcce80fe558..2d893398545 100644 --- a/docs/src/appendix/important/contributing.md +++ b/docs/src/appendix/important/contributing.md @@ -3,5 +3,5 @@ icon: material/pen-plus --- - + {{ include_file('includes/repo/CONTRIBUTING.md') }} diff --git a/docs/src/appendix/important/security.md b/docs/src/appendix/important/security.md index fd86f01d61f..a33b9b349d4 100644 --- a/docs/src/appendix/important/security.md +++ b/docs/src/appendix/important/security.md @@ -3,5 +3,5 @@ icon: material/security --- - + {{ include_file('includes/repo/SECURITY.md') }}