Skip to content

Commit 0fce38b

Browse files
committed
fix: direct people to the right repository
1 parent 6860b64 commit 0fce38b

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

docs/user/manual.adoc

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,6 @@
66
:source-highlighter: rouge
77
:experimental:
88

9-
// Master copy of this document lives in the https://github.com/rust-analyzer/rust-analyzer repository
10-
119
At its core, rust-analyzer is a *library* for semantic analysis of Rust code as it changes over time.
1210
This manual focuses on a specific usage of the library -- running it as part of a server that implements the
1311
https://microsoft.github.io/language-server-protocol/[Language Server Protocol] (LSP).

xtask/src/release.rs

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
mod changelog;
22

3-
use xshell::{cmd, cp, pushd, read_dir, write_file};
3+
use xshell::{cmd, pushd, read_dir, read_file, write_file};
44

55
use crate::{codegen, date_iso, flags, is_release_tag, project_root, Result};
66

@@ -41,7 +41,9 @@ impl flags::Release {
4141
{
4242
let src = project_root().join("./docs/user/").join(adoc);
4343
let dst = website_root.join(adoc);
44-
cp(src, dst)?;
44+
45+
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==");
46+
write_file(dst, contents)?;
4547
}
4648

4749
let tags = cmd!("git tag --list").read()?;

0 commit comments

Comments
 (0)