Commit Graph

9 Commits

Author SHA1 Message Date
Chris Krycho
1882cfbb12 infra: remove extra leading > in simple preprocessor output
Preprocessors using `pulldown-cmark-to-cmark` do not yet perform round
trips 100% correctly, and insert leading spaces and an extra initial `>`
for block quotes, so strip those. Once that is fixed upstream, this will
become a no-op, and can be removed then.
2024-12-05 09:37:01 -07:00
Chris Krycho
7ee012f18b infra: *some* file paths can also contain file:///home
Rust recently began printing error messages which include the full path
to the source of the file with an error in it; when that path is in the
standard library, that includes the user's home directory (or similar).
A previous change (b9241f6) added support for those paths in the output
files; this one adds support to the local file paths linter.

Specifically allow exactly and only paths in the home directory which
include `.rustup` or `.cargo`.
2024-11-06 12:18:08 -07:00
Chris Krycho
c913659d62 infra: correctly report skipped paths in listings 2024-11-05 15:53:09 -07:00
Chris Krycho
6b6b4501f1 Upgrade to Rust 1.81
In addition to the baseline changes, skip over non-directory code where
directories are needed to deal with things like `.DS_Store` files. Also
add a bunch of context on error causes from `std::io::Error` because it
was *impossible* to figure out exactly what the source of those were.
2024-09-11 07:26:31 -06:00
Carol (Nichols || Goulding)
b988be3cb9 Instead of special casing square brackets in code, don't support md links without something after them 2024-08-13 21:19:47 -04:00
Carol (Nichols || Goulding)
1f7ac86353 Handle more non-links in code and handle them a better way
That is, don't remove the square brackets in these cases. I don't know
how I lived like this.
2024-07-05 20:32:23 -04:00
Chris Krycho
3398f72a6a infra: Fix clippy warning in remove_markup 2024-05-27 15:27:36 -06:00
Chris Krycho
da9e96e876 Modernize tools package contents 2024-04-29 09:29:59 -06:00
Chris Krycho
f48b281275 Convert to a workspace
This will let us pull in, and work directly on, things like the
`mdbook-trpl-notes` preprocessor.
2024-04-29 09:27:34 -06:00