-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(docs): add markdownlint and apply rules (#4557)
- Loading branch information
Showing
42 changed files
with
1,060 additions
and
388 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,12 @@ | ||
root = true | ||
|
||
[*] | ||
charset = utf-8 | ||
end_of_line = lf | ||
trim_trailing_whitespace = true | ||
insert_final_newline = true | ||
|
||
[*.md] | ||
indent_style = space | ||
indent_size = 3 | ||
trim_trailing_whitespace = 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
# MD013/line-length | ||
# | ||
# We're not particular about line length, generally preferring longer | ||
# lines, since tools like Grammarly and other writing assistance tools | ||
# work best with "normal" lines not broken up arbitrary. | ||
# | ||
# https://github.com/DavidAnson/markdownlint/blob/main/doc/md013.md | ||
MD013: false | ||
|
||
# MD033/no-inline-html | ||
# | ||
# We're fine with inline HTML, there are lots of valid VitePress features | ||
# that depends on this. | ||
# | ||
# https://github.com/DavidAnson/markdownlint/blob/main/doc/md033.md | ||
MD033: false | ||
|
||
# MD024/no-duplicate-heading | ||
# | ||
# VitePress do not follow GitHub heading styling, so duplicate headlines | ||
# are fine as long as they are not siblings (aka same indention hierarchy) | ||
# | ||
# https://github.com/DavidAnson/markdownlint/blob/main/doc/md024.md | ||
MD024: | ||
siblings_only: true | ||
|
||
# MD051/link-fragments | ||
# | ||
# VitePress generate these differently that markdownlint expects, so disabling | ||
# for now, and something to improve on later (cc @jippi) | ||
# | ||
# https://github.com/DavidAnson/markdownlint/blob/main/doc/md051.md | ||
MD051: 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
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
Oops, something went wrong.