Skip to content
This repository was archived by the owner on Jun 2, 2024. It is now read-only.

Picking the low-hanging documentation fruit #265

Merged
merged 5 commits into from
Mar 8, 2022
Merged

Picking the low-hanging documentation fruit #265

merged 5 commits into from
Mar 8, 2022

Conversation

Plecra
Copy link
Member

@Plecra Plecra commented Jan 23, 2022

I've started writing explanations for different parts of the crate as I come across them. This can probably be merged at any time, but I'll keep expanding on it.

give more warnings about possible misuse of the type
Making the paths to the types private forces rustdoc to render
the structs inline in the crate root.
This is simpler to see when first reading the API doc
Explain more of what ZIP is intended for, and begin to explain
what the crate can be used for.
//!
//! | | Reading | Writing |
//! | ------- | ------ | ------- |
//! | Deflate | ✅ [->](`crate::ZipArchive::by_name`) | ✅ [->](`crate::write::FileOptions::compression_method`) |
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think we need to add here more features.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Indeed 😄

@zamazan4ik
Copy link
Contributor

I am going to merge it. Further documentation improvements will be created in other PRs.

@zamazan4ik zamazan4ik merged commit 25a5b4e into master Mar 8, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants