Skip to content
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

Find way to make obvious what all extension methods exist in the docs #21

Closed
epage opened this issue Aug 1, 2018 · 5 comments
Closed
Assignees
Labels
enhancement Improve the expected
Milestone

Comments

@epage
Copy link
Contributor

epage commented Aug 1, 2018

Right now you have to hunt through all of the traits and it makes it hard to see the big picture.

@epage epage added the enhancement Improve the expected label Aug 1, 2018
@killercup
Copy link
Contributor

killercup commented Aug 1, 2018

All hail @QuietMisdreavus, almighty solver of docs problems:
https://twitter.com/QuietMisdreavus/status/1023416134903783429

@QuietMisdreavus
Copy link

Thank @GuillaumeGomez instead, he's the one who put that PR together: rust-lang/rust#52585

@killercup
Copy link
Contributor

killercup commented Aug 1, 2018

Fixed. (Sorry Guillaume you even told me about that on discord and I actually really like this despite what you might think 🙈)

Rejoice! Our rustdoc herald @QuietMisdreavus sings the cheerful lore of @GuillaumeGomez grand accomplishments:
https://twitter.com/QuietMisdreavus/status/1023416134903783429

@GuillaumeGomez
Copy link

You're all forgiven. 😛

@epage epage added this to the 1.0 milestone Aug 2, 2018
@epage
Copy link
Contributor Author

epage commented Aug 15, 2018

Got a couple ideas

  • Add #[doc(inline)] in a couple places to ensure similar items are shown together rather than some being shown as re-exports
  • Add a unstable_doc feature where I re-export std::process::Command and std::process::Output into a doc module. This makes it so they will show up in my docs with all extension traits visible.

@epage epage self-assigned this Oct 19, 2018
@epage epage closed this as completed in 8939ce2 Oct 26, 2018
epage added a commit to epage/assert_fs that referenced this issue Jul 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Improve the expected
Projects
None yet
Development

No branches or pull requests

4 participants