Skip to content

Commit 3392430

Browse files
authored
Merge pull request #895 from wolf99/document-doc-linting
Document how to lint documentation
2 parents 0d591c3 + e4c1926 commit 3392430

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed

docs/development.md

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -150,6 +150,23 @@ or
150150
report coverage - win
151151
```
152152

153+
## Linting Documentation
154+
155+
Documents are linted using [markdownlint][markdownlint] which can be installed
156+
as a CLI tool via NPM or as an [extension in VSCode][vscode-markdownlint]. See
157+
the [documentation on GitHub][markdownlint]. The configuration used for
158+
markdownlint is in [.markdownlint.jsonc][markdownlint-config].
159+
160+
Documents are checked for link validity using [lychee][lychee]. Lychee can be
161+
installed in a variety of ways depending on your platform, see the [docs on GitHub][lychee-docs].
162+
Some URLs are ignored by lychee, per the [lycheeignore][lycheeignore].
163+
153164
[dotnet-web]: https://dotnet.microsoft.com/
154165
[custom-helpers]: https://git-scm.com/docs/gitcredentials#_custom_helpers
155166
[ioformat]: https://git-scm.com/docs/git-credential#IOFMT
167+
[lychee]: https://lychee.cli.rs/
168+
[lychee-docs]: https://github.com/lycheeverse/lychee
169+
[lycheeignore]: ../.lycheeignore
170+
[markdownlint]: https://github.com/DavidAnson/markdownlint-cli2
171+
[markdownlint-config]: ../.markdownlint.jsonc
172+
[vscode-markdownlint]: https://github.com/DavidAnson/vscode-markdownlint

0 commit comments

Comments
 (0)