Skip to content

Commit

Permalink
Include rustc and rustdoc book in replace-version-placeholder
Browse files Browse the repository at this point in the history
  • Loading branch information
Urgau committed Jan 7, 2025
1 parent ad211ce commit eadb76e
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion src/tools/replace-version-placeholder/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,12 @@ fn main() {
let version_str = t!(std::fs::read_to_string(&version_path), version_path);
let version_str = version_str.trim();
walk::walk_many(
&[&root_path.join("compiler"), &root_path.join("library")],
&[
&root_path.join("compiler"),
&root_path.join("library"),
&root_path.join("src/doc/rustc"),
&root_path.join("src/doc/rustdoc"),
],
|path, _is_dir| walk::filter_dirs(path),
&mut |entry, contents| {
if !contents.contains(VERSION_PLACEHOLDER) {
Expand Down

0 comments on commit eadb76e

Please sign in to comment.