hyperium / hyper

An HTTP library for Rust
https://hyper.rs
MIT License
14.51k stars 1.6k forks source link

Polish the API docs #3067

Open seanmonstar opened 1 year ago

seanmonstar commented 1 year ago

This is issue about what appears at https://docs.rs/hyper. As a general rule, we should incrementally improve them with the following in mind:

Items to document

A248 commented 1 year ago

Hi, maybe it would be useful to mention the repository https://github.com/hyperium/hyperium.github.io, for the sake of future contributors who come to this issue looking to contribute to the documentation.

seanmonstar commented 1 year ago

@A248 Ah, what I meant by "API docs" is those that are within the source code here, that get rendered at docs.rs/hyper. The website repository is the subject of #3068.

seanmonstar commented 1 year ago

I'm going through the currently rendered docs (of rc4) and writing down some notes in the top comment about what needs to be improved. By making them separate items in a task list, it should be easy to convert any single one into an issue. If you'd like to fix any, start a pull request mentioning it, and I'll click the button to convert the task into an issue.

An item tagged with 👀 means I haven't yet analyzed the module or its types.