mirror of
https://github.com/rust-lang/rust-analyzer
synced 2024-12-26 04:53:34 +00:00
Don't spam the manual with warnings
This commit is contained in:
parent
516eb40ba5
commit
b66e506cc2
2 changed files with 4 additions and 2 deletions
|
@ -1,3 +1,5 @@
|
||||||
|
// IMPORTANT: the master copy of this document lives in the https://github.com/rust-analyzer/rust-analyzer repository
|
||||||
|
|
||||||
= User Manual
|
= User Manual
|
||||||
:toc: preamble
|
:toc: preamble
|
||||||
:sectanchors:
|
:sectanchors:
|
||||||
|
|
|
@ -45,7 +45,7 @@ impl flags::Release {
|
||||||
let src = project_root().join("./docs/user/").join(adoc);
|
let src = project_root().join("./docs/user/").join(adoc);
|
||||||
let dst = website_root.join(adoc);
|
let dst = website_root.join(adoc);
|
||||||
|
|
||||||
let contents = read_file(src)?.replace("\n\n===", "\n\n// IMPORTANT: master copy of this document lives in the https://github.com/rust-analyzer/rust-analyzer repository\n\n==");
|
let contents = read_file(src)?;
|
||||||
write_file(dst, contents)?;
|
write_file(dst, contents)?;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue