Skip to content

Commit dd7a11f

Browse files
authored
Move all docs to central location (microsoft#1878)
1 parent d265659 commit dd7a11f

16 files changed

+8
-8
lines changed

crates/libs/sys/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ edition = "2018"
77
license = "MIT OR Apache-2.0"
88
description = "Rust for Windows"
99
repository = "https://github.com/microsoft/windows-rs"
10-
readme = "../../../.github/readme.md"
10+
readme = "../../../docs/readme.md"
1111
rust-version = "1.46"
1212

1313
[package.metadata.docs.rs]

crates/libs/windows/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ license = "MIT OR Apache-2.0"
88
description = "Rust for Windows"
99
repository = "https://github.com/microsoft/windows-rs"
1010
documentation = "https://microsoft.github.io/windows-docs-rs/"
11-
readme = "../../../.github/readme.md"
11+
readme = "../../../docs/readme.md"
1212
rust-version = "1.59"
1313

1414
[package.metadata.docs.rs]

crates/tools/sys/src/main.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ edition = "2018"
3030
license = "MIT OR Apache-2.0"
3131
description = "Rust for Windows"
3232
repository = "https://github.com/microsoft/windows-rs"
33-
readme = "../../../.github/readme.md"
33+
readme = "../../../docs/readme.md"
3434
rust-version = "1.46"
3535
3636
[package.metadata.docs.rs]
@@ -89,8 +89,8 @@ deprecated = []
8989
}
9090
}
9191

92-
std::fs::copy(".github/license-mit", "crates/libs/sys/license-mit").unwrap();
93-
std::fs::copy(".github/license-apache", "crates/libs/sys/license-apache").unwrap();
92+
std::fs::copy("docs/license-mit", "crates/libs/sys/license-mit").unwrap();
93+
std::fs::copy("docs/license-apache", "crates/libs/sys/license-apache").unwrap();
9494
}
9595

9696
fn gen_tree(reader: &metadata::reader::Reader, output: &std::path::Path, tree: &metadata::reader::Tree) {

crates/tools/windows/src/main.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ license = "MIT OR Apache-2.0"
3131
description = "Rust for Windows"
3232
repository = "https://github.com/microsoft/windows-rs"
3333
documentation = "https://microsoft.github.io/windows-docs-rs/"
34-
readme = "../../../.github/readme.md"
34+
readme = "../../../docs/readme.md"
3535
rust-version = "1.59"
3636
3737
[package.metadata.docs.rs]
@@ -96,8 +96,8 @@ interface = ["windows-interface"]
9696
}
9797
}
9898

99-
std::fs::copy(".github/license-mit", "crates/libs/windows/license-mit").unwrap();
100-
std::fs::copy(".github/license-apache", "crates/libs/windows/license-apache").unwrap();
99+
std::fs::copy("docs/license-mit", "crates/libs/windows/license-mit").unwrap();
100+
std::fs::copy("docs/license-apache", "crates/libs/windows/license-apache").unwrap();
101101
}
102102

103103
fn gen_tree(reader: &metadata::reader::Reader, output: &std::path::Path, tree: &metadata::reader::Tree) {
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)