-
Notifications
You must be signed in to change notification settings - Fork 12.8k
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
API Docs: os #29367
Comments
I am happy to mentor anyone who wants to tackle this issue. |
I am curious to learn more about the steps needed to resolve this issue. Thanks! |
Hey @outkaj ! So, for some context, I opened up one of these issues for every module in the standard library. So in some sense, this issue represents "read everything over and see if it's good enough yet." So it's very open-ended. Looking at it now, some things that should be done to close this ticket:
Generally these have an overview of the functionality in the module. This one is special though; for example, compare what that page looks like to this screenshot on my local machine: We build the docs on linux, so we only have linux docs on the website, but you get the ones locally for the platform you're on. This is a great thing to mention on this page, as well as that
I don't have access to a mac to easily generate mac instructions, and this is getting long, so I wont' dig into the source, but I'm assuming it has the same kinds of issues. Whew! That's a lot. As I said in the first issue, this one is big. If you're interested in chipping in here, please send in PRs of any size; I actually prefer a large number of small PRs to one huge PR. And helping with part of this is just as good as tackling all of it; this module specifically is a huge job with a lot of details, so I imagine we'll be chipping away at it over time. And don't hesitate to ping me here, on IRC, or over email if you (or anyone else working on stuff) needs any help at all! Thanks 😄 |
Can I claim the |
This is very helpful - thank you! I can take a look at expanding the description in the module docs, as well as start looking into I don't have access to a Windows or Mac system at the moment, so unfortunately can't contribute in that regard. |
I'd like to tackle |
Improve os::linux documentation (rust-lang#29367) Improve `os::linux` documentation according to rust-lang#29367 r? @steveklabnik
…-docs, r=frewsxcv Improve docs in os::windows::ffi and os::windows::fs Part of rust-lang#29367 This PR makes changes to the documentation in `os::windows::ffi` and `os::windows::fs` with the goal of fleshing them out and bringing them in line with Rust's quality standards. r? @steveklabnik
Note that thanks to #43348, the platform docs for Linux, Unix, and Windows are all shown on https://doc.rust-lang.org/nightly/std/os/. (As this change rides the trains, it'll make its way to the stable docs - i assume it'll come with the next stable release.) So a proper fix for this would need to take at least those platform modules into account before calling this good. Adding macOS to the list would be helpful, just to get the major desktop platforms accounted for. I would consider farther improvements for system-specific modules beyond that (iOS, Android, *BSD, etc) to be "bonus points" on this specific effort. This will likely take several PRs, as various people who know different platforms elaborate on the behavior they know about. |
The difference between |
I'm writing a module level description for However, the part of this comment talking about using |
@QuietMisdreavus ? As far as I know, the answer now is "no". |
Unfortunately, even building from source yourself will still only show Linux, Unix, and Windows in the documentation, regardless of what target you're building for. In the source for |
Add doc links to `std::os` extension traits Addresses a small subset of rust-lang#29367. This adds documentation links to the original type for various OS-specific extension traits, and uses a common sentence for introducing such traits (which now consistently ends in a period).
Closing this as the docs have been updated :) |
Part of #29329
http://doc.rust-lang.org/std/os/
This will be tough, as there's a lot of platforms...
This comment contains a checklist of what needs to be done for this issue.
The text was updated successfully, but these errors were encountered: