mirror of
https://github.com/rust-lang/rust.git
synced 2024-12-02 03:33:59 +00:00
Merge #8755
8755: fix: direct people to the right repository r=matklad a=matklad
bors r+
🤖
Co-authored-by: Aleksey Kladov <aleksey.kladov@gmail.com>
This commit is contained in:
commit
9c8763714c
@ -6,8 +6,6 @@
|
|||||||
:source-highlighter: rouge
|
:source-highlighter: rouge
|
||||||
:experimental:
|
:experimental:
|
||||||
|
|
||||||
// Master copy of this document lives in the https://github.com/rust-analyzer/rust-analyzer repository
|
|
||||||
|
|
||||||
At its core, rust-analyzer is a *library* for semantic analysis of Rust code as it changes over time.
|
At its core, rust-analyzer is a *library* for semantic analysis of Rust code as it changes over time.
|
||||||
This manual focuses on a specific usage of the library -- running it as part of a server that implements the
|
This manual focuses on a specific usage of the library -- running it as part of a server that implements the
|
||||||
https://microsoft.github.io/language-server-protocol/[Language Server Protocol] (LSP).
|
https://microsoft.github.io/language-server-protocol/[Language Server Protocol] (LSP).
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
mod changelog;
|
mod changelog;
|
||||||
|
|
||||||
use xshell::{cmd, cp, pushd, read_dir, write_file};
|
use xshell::{cmd, pushd, read_dir, read_file, write_file};
|
||||||
|
|
||||||
use crate::{codegen, date_iso, flags, is_release_tag, project_root, Result};
|
use crate::{codegen, date_iso, flags, is_release_tag, project_root, Result};
|
||||||
|
|
||||||
@ -41,7 +41,9 @@ 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);
|
||||||
cp(src, dst)?;
|
|
||||||
|
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==");
|
||||||
|
write_file(dst, contents)?;
|
||||||
}
|
}
|
||||||
|
|
||||||
let tags = cmd!("git tag --list").read()?;
|
let tags = cmd!("git tag --list").read()?;
|
||||||
|
Loading…
Reference in New Issue
Block a user