Skip to content

Commit

Permalink
Merge pull request #529 from StreamHPC/generic_markdown_check_config
Browse files Browse the repository at this point in the history
ci(docs-lint): Create a generic markdowlint config
  • Loading branch information
saadrahim committed Nov 22, 2023
2 parents 62144ff + b960041 commit 66f5b0c
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 10 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/linting.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,10 @@ jobs:
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Fetch config
shell: sh
run: |
test -f .markdownlint.yaml && echo "Using local config file" || curl --silent --show-error --fail --location https://raw.github.com/RadeonOpenCompute/rocm-docs-core/develop/.markdownlint.yaml -O
- name: Use markdownlint-cli2
uses: DavidAnson/markdownlint-cli2-action@v10.0.1
with:
Expand Down
10 changes: 0 additions & 10 deletions .markdownlint-cli2.yaml
Original file line number Diff line number Diff line change
@@ -1,13 +1,3 @@
config:
default: true
MD013: false
MD026:
punctuation: ".,;:!"
MD029:
style: ordered
MD033: false
MD034: false
MD041: false
ignores:
- CHANGELOG.md
- "{,docs/}{RELEASE,release}.md"
Expand Down
11 changes: 11 additions & 0 deletions .markdownlint.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
default: true
MD013: false
MD024:
siblings_only: true
MD026:
punctuation: ".,;:!"
MD029:
style: ordered
MD033: false
MD034: false
MD041: false

0 comments on commit 66f5b0c

Please sign in to comment.