Skip to content

Commit 11ebb59

Browse files
authored
Rollup merge of #129512 - lolbinarycat:linkchecker-impl-docs, r=ehuss
update the doc comment on lintchecker b/c it parses html now
2 parents 2412d3c + 027c479 commit 11ebb59

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

Diff for: src/tools/linkchecker/main.rs

+4-2
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,10 @@
66
//! script is to check all relative links in our documentation to make sure they
77
//! actually point to a valid place.
88
//!
9-
//! Currently this doesn't actually do any HTML parsing or anything fancy like
10-
//! that, it just has a simple "regex" to search for `href` and `id` tags.
9+
//! Currently uses a combination of HTML parsing to
10+
//! extract the `href` and `id` attributes,
11+
//! and regex search on the orignal markdown to handle intra-doc links.
12+
//!
1113
//! These values are then translated to file URLs if possible and then the
1214
//! destination is asserted to exist.
1315
//!

0 commit comments

Comments
 (0)