From 4f3364350995cae26971fd1cc976ef74ee8607db Mon Sep 17 00:00:00 2001 From: Mads Marquart Date: Tue, 10 Jun 2025 00:37:36 +0200 Subject: [PATCH] chore: make git checkout build on Windows with symlinks disabled --- CONTRIBUTING.md | 7 +++++++ winit/Cargo.toml | 4 ---- winit/docs | 1 - {docs => winit/docs}/ATTRIBUTION.md | 0 {docs => winit/docs}/coordinate-systems.drawio | 0 {docs => winit/docs}/res/coordinate-systems-desktop.svg | 0 {docs => winit/docs}/res/coordinate-systems-mobile.svg | 0 7 files changed, 7 insertions(+), 5 deletions(-) delete mode 120000 winit/docs rename {docs => winit/docs}/ATTRIBUTION.md (100%) rename {docs => winit/docs}/coordinate-systems.drawio (100%) rename {docs => winit/docs}/res/coordinate-systems-desktop.svg (100%) rename {docs => winit/docs}/res/coordinate-systems-mobile.svg (100%) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index ea15bdd7..7bbb731c 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -13,6 +13,13 @@ To save your time it's wise to check already opened [pull requests][prs] and accepted, however larger new API proposals should go into the issue first. When in doubt contact us on [Matrix][matrix] or via opening an issue. +### Windows + +To run the examples on Windows, you must have symlinks enabled, see +[this][git-windows-symlinks]. + +[git-windows-symlinks]: https://gitforwindows.org/symbolic-links.html + ### Submitting your work and handling review All patches have to be sent on Github as [pull requests][prs]. To simplify your diff --git a/winit/Cargo.toml b/winit/Cargo.toml index dd26f04c..2dcc5ff0 100644 --- a/winit/Cargo.toml +++ b/winit/Cargo.toml @@ -113,7 +113,3 @@ tracing-web.workspace = true wasm-bindgen-futures.workspace = true wasm-bindgen-test.workspace = true web-time.workspace = true - -[[example]] -doc-scrape-examples = true -name = "window" diff --git a/winit/docs b/winit/docs deleted file mode 120000 index a9594bfe..00000000 --- a/winit/docs +++ /dev/null @@ -1 +0,0 @@ -../docs \ No newline at end of file diff --git a/docs/ATTRIBUTION.md b/winit/docs/ATTRIBUTION.md similarity index 100% rename from docs/ATTRIBUTION.md rename to winit/docs/ATTRIBUTION.md diff --git a/docs/coordinate-systems.drawio b/winit/docs/coordinate-systems.drawio similarity index 100% rename from docs/coordinate-systems.drawio rename to winit/docs/coordinate-systems.drawio diff --git a/docs/res/coordinate-systems-desktop.svg b/winit/docs/res/coordinate-systems-desktop.svg similarity index 100% rename from docs/res/coordinate-systems-desktop.svg rename to winit/docs/res/coordinate-systems-desktop.svg diff --git a/docs/res/coordinate-systems-mobile.svg b/winit/docs/res/coordinate-systems-mobile.svg similarity index 100% rename from docs/res/coordinate-systems-mobile.svg rename to winit/docs/res/coordinate-systems-mobile.svg