Skip to content

Update readme.md - fix link #2644

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 1 commit into from
Closed

Conversation

Spirarel
Copy link

@Spirarel Spirarel commented Sep 4, 2023

What's this all about?

Fix broken link

Fixes: #0000 ⬅️ Be sure to refer to an existing issue here!

@@ -3,7 +3,7 @@
The [windows](https://crates.io/crates/windows) and [windows-sys](https://crates.io/crates/windows-sys) crates let you call any Windows API past, present, and future using code generated on the fly directly from the [metadata describing the API](https://github.com/microsoft/windows-rs/tree/master/crates/libs/bindgen/default) and right into your Rust package where you can call them as if they were just another Rust module. The Rust language projection follows in the tradition established by [C++/WinRT](https://github.com/microsoft/cppwinrt) of building language projections for Windows using standard languages and compilers, providing a natural and idiomatic way for Rust developers to call Windows APIs.

* [Getting started](https://kennykerr.ca/rust-getting-started/)
* [Samples](https://github.com/microsoft/windows-rs/tree/0.52.0/crates/samples)
* [Samples](https://github.com/microsoft/windows-rs/tree/master/crates/samples)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This was changed in #2226 so that the Samples link on crates.io always refers to the corresponding sample code for any given version. This means the link in this repository's readme is usually ahead of its time and 404's.

The proposed change, however, makes matters worse: On crates.io, the Samples link will now practically always be out of sync with any published version.

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, I think I just need to split the repo readme files so that each crate carries its own readme and the repo itself has a single non-published readme as we just keep having this same issue pop up repeatedly. 🤷‍♂️

@kennykerr
Copy link
Collaborator

Closing in favor of #2645.

@kennykerr kennykerr closed this Sep 5, 2023
@Spirarel Spirarel deleted the patch-1 branch September 7, 2023 18:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants