-
-
Notifications
You must be signed in to change notification settings - Fork 422
Commit f470f40
[skip changelog] Disable internal anchor checks by link checker tool (#1692)
Validation of links to internal anchors was recently added to the markdown-link-check tool used to check for broken
links in this project's documentation.
Although a much needed feature, unfortunately it does not currently support anchors created by HTML anchor tags.
For example, this is valid and common Markdown:
[click here](#some-anchor)
<a name="some-anchor"></a>
but will fail the check:
ERROR: 1 dead links found!
[x] #some-anchor -> Status: 404
This type of link markup is used by the protoc-gen-doc tool that generates the gRPC interface documentation, which
causes a spurious failure of the link check.
The solution is to configure markdown-link-check to skip these links (which was the behavior anyway with versions 3.8.7
and older). That will be reverted whenever the tool is able to correctly validate internal anchor links.1 parent ae57066 commit f470f40
1 file changed
+3
-0
lines changedOriginal file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
3 | 3 |
| |
4 | 4 |
| |
5 | 5 |
| |
6 | + | ||
7 | + | ||
8 | + | ||
6 | 9 |
| |
7 | 10 |
| |
8 | 11 |
| |
|
0 commit comments