mirror of
https://github.com/ROCm/ROCm.git
synced 2026-01-10 07:08:08 -05:00
Initial Markdown linting (#1978)
This commit is contained in:
committed by
GitHub
parent
e9ee6b9874
commit
8702d500ad
14
.github/workflows/markdownlint.yml
vendored
Normal file
14
.github/workflows/markdownlint.yml
vendored
Normal file
@@ -0,0 +1,14 @@
|
||||
|
||||
name: Markdownlint Action
|
||||
on: push
|
||||
|
||||
jobs:
|
||||
build:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Check out code
|
||||
uses: actions/checkout@v3
|
||||
- name: Use markdownlint
|
||||
uses: actionshub/markdownlint@v3.1.3
|
||||
with:
|
||||
filesToIgnoreRegex: "CHANGELOG.md|README.md|docs/packaging_guidelines.md|docs/about.md|docs/quick_start.md|docs/index.md|docs/release/gpu_os_support.md|docs/how_to/magma_install/magma_install.md|docs/reference/gpu_libraries/math.md|docs/reference/rocmcc/rocmcc.md|docs/reference/docker.md|docs/reference/hip.md|docs/hip_sdk_install_win/hip_sdk_install_win.md|docs/all_deploy_options.md"
|
||||
6
mdlrc-style.rb
Normal file
6
mdlrc-style.rb
Normal file
@@ -0,0 +1,6 @@
|
||||
all
|
||||
# Extend line length
|
||||
rule 'MD013', :line_length => 99999
|
||||
|
||||
# Allow in-line HTML
|
||||
exclude_rule 'MD033'
|
||||
Reference in New Issue
Block a user