XAMPPRocky / octocrab

A modern, extensible GitHub API Client for Rust.
Other
1.02k stars 253 forks source link

Properly mark feature-gated functionality in docs #662

Open jwodder opened 1 week ago

jwodder commented 1 week ago

This PR follows these instructions to ensure that feature-gated functionality in octocrab is correctly marked as such in the rendered documentation. This includes adding some missing #[cfg_attr(docsrs, doc(cfg(feature = "...")))] lines and also ensuring that all features are enabled when building the docs (as, currently, Page::into_stream() isn't listed on docs.rs at all!).