diff options
author | Igor Aleksanov <[email protected]> | 2020-10-19 19:07:40 +0100 |
---|---|---|
committer | Igor Aleksanov <[email protected]> | 2020-10-19 19:07:40 +0100 |
commit | b8a74e03708819c04862005ad0a91757dd63d654 (patch) | |
tree | bc1cd5b714e9566e2c87f33582d8c587cf46f6c0 /xtask/src | |
parent | aa9be4d5232f27d285211c0c880259655316d114 (diff) |
Add generated_diagnostic.adoc to the release.rs and smoke_test_docs_generation
Diffstat (limited to 'xtask/src')
-rw-r--r-- | xtask/src/release.rs | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/xtask/src/release.rs b/xtask/src/release.rs index 14fc1f0dd..3cf0d849f 100644 --- a/xtask/src/release.rs +++ b/xtask/src/release.rs | |||
@@ -52,7 +52,14 @@ https://github.com/sponsors/rust-analyzer[GitHub Sponsors]. | |||
52 | let path = changelog_dir.join(format!("{}-changelog-{}.adoc", today, changelog_n)); | 52 | let path = changelog_dir.join(format!("{}-changelog-{}.adoc", today, changelog_n)); |
53 | write_file(&path, &contents)?; | 53 | write_file(&path, &contents)?; |
54 | 54 | ||
55 | for &adoc in ["manual.adoc", "generated_features.adoc", "generated_assists.adoc"].iter() { | 55 | for &adoc in [ |
56 | "manual.adoc", | ||
57 | "generated_features.adoc", | ||
58 | "generated_assists.adoc", | ||
59 | "generated_diagnostic.adoc", | ||
60 | ] | ||
61 | .iter() | ||
62 | { | ||
56 | let src = project_root().join("./docs/user/").join(adoc); | 63 | let src = project_root().join("./docs/user/").join(adoc); |
57 | let dst = website_root.join(adoc); | 64 | let dst = website_root.join(adoc); |
58 | cp(src, dst)?; | 65 | cp(src, dst)?; |