diff options
| author | Matthias Krüger <matthias.krueger@famsik.de> | 2022-09-19 17:55:24 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-09-19 17:55:24 +0200 |
| commit | ade65059762ce8d1451e270a584498ee990d2c1b (patch) | |
| tree | b0d28d26c6a37c2b082a83cc3e722c79e7d4062f | |
| parent | 548c3eaa24b6b5c4ff9e2ee614f014533aac9b04 (diff) | |
| parent | cd3979dba1b1495114d8ccdf2d6f6ada72e37838 (diff) | |
| download | rust-ade65059762ce8d1451e270a584498ee990d2c1b.tar.gz rust-ade65059762ce8d1451e270a584498ee990d2c1b.zip | |
Rollup merge of #102017 - est31:rustc_dev_guide_tidy_skip, r=Mark-Simulacrum
Add all submodules to the list of directories tidy skips Tidy contains a blacklist of directories that it is not visiting. This list is also used by the `replace-version-placeholder` tool added by #100591 , to determine the directories to do its replacement from. Generally, tidy does not check submodules, but this is not done consistently for all submodules. This PR adds the submodules that were previously missing, so that the `replace-version-placeholder` tool does not attempt to change content of the books. This was needed because `rustc-dev-guide` contains the placeholder, leading to #102014. Fixes #102014
| -rw-r--r-- | src/tools/tidy/src/walk.rs | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/tools/tidy/src/walk.rs b/src/tools/tidy/src/walk.rs index b07e80767fa..4cfb70fa31c 100644 --- a/src/tools/tidy/src/walk.rs +++ b/src/tools/tidy/src/walk.rs @@ -21,6 +21,12 @@ pub fn filter_dirs(path: &Path) -> bool { "src/tools/rust-installer", "src/tools/rustfmt", "src/doc/book", + "src/doc/edition-guide", + "src/doc/embedded-book", + "src/doc/nomicon", + "src/doc/rust-by-example", + "src/doc/rustc-dev-guide", + "src/doc/reference", // Filter RLS output directories "target/rls", "src/bootstrap/target", |
