-
Notifications
You must be signed in to change notification settings - Fork 531
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
Documentation lags new release. #3037
Comments
Hey @jacksonbrim, I'll get the docs regenerated. We handle this manually because rustdoc needs ~20GB of memory to complete the operation and generates ~quarter million files that then need to get checked in. Regarding features not in the rustdocs: this is intentional. See: #2830. We'll take a note to improve the search, thanks! |
Ah, I see. My next suggestion was going to be to use doc_auto_cfg to generate feature flags, but I see that debate has already been had. |
New docs are live https://microsoft.github.io/windows-docs-rs/doc/windows/. Will close this issue as complete; we'll tackle improving the search next. Thanks! |
I would note that rustc itself is getting better at suggesting features to enable. Though if something needs multiple features enabled, it unfortunately won't tell you so upfront. Example session:
Note that the only two features actually needed here are |
Summary
Documentation for the windows crate is on 0.54, yet latest release is 0.56.
https://microsoft.github.io/windows-docs-rs/doc/windows/index.html
It's impossible to tell if a trait has been modified from release to release or if it is hidden behind a feature flag.
The following is from the rss example. The Items() method is documented for SyndicationFeed in the documentation (0.54).
Using the feature search, the only feature I can manage to find for this Struct is "Web_Syndication".
https://microsoft.github.io/windows-rs/features/#/0.56.0
It would be nice to simply have the feature flags in the documentation page, instead of having to search separately on the features search page.
Crate manifest
Crate code
The text was updated successfully, but these errors were encountered: