-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[
0.1.0+build.2
] A: Markdown Linter & Link Checker
- Loading branch information
Showing
7 changed files
with
78 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
name: Markdown Linter | ||
|
||
on: | ||
pull_request: | ||
push: | ||
branches: | ||
- main | ||
|
||
jobs: | ||
markdownlint: | ||
name: Markdown Lint | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- name: Check out repo | ||
uses: actions/checkout@v2 | ||
|
||
- name: Markdown Linting Action | ||
uses: avto-dev/markdown-lint@v1.5.0 | ||
with: | ||
# Disabled in markdownlint.json: | ||
# MD001 - Heading Increment | ||
# MD013 - Line Length | ||
# MD024 - Duplicate Headings | ||
# MD026 - Trailing punctuation in header | ||
# MD033 - No inline HTML | ||
# MD036 - No Emphasis as Heading | ||
# MD041 - No Emphasis as Heading | ||
# MD041 - First line in file should be a H1 | ||
# MD022 - Blanks around headings | ||
# MD032 - Blanks around lists | ||
# MD012 - No multiple blanks | ||
args: "./README.md ./content/*.md ./docs/*.md" | ||
- name: Link Checker | ||
id: lc | ||
uses: peter-evans/link-checker@v1 | ||
- name: Fail if links are broken | ||
run: exit ${{ steps.lc.outputs.exit_code }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
{ | ||
"MD001": false, | ||
"MD013": false, | ||
"MD024": false, | ||
"MD033": false, | ||
"MD036": false, | ||
"MD041": false, | ||
"MD026": false, | ||
"MD012": false, | ||
"MD022": false, | ||
"MD032": false | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,4 +2,4 @@ | |
|
||
|
||
if __name__ == "__main__": | ||
setup(version='0.1.0+build.1') | ||
setup(version='0.1.0+build.2') |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters