Skip to content

Incorporate README.md into rustdoc where it wasn't already#2273

Merged
tarcieri merged 2 commits intomasterfrom
incorporate-readme-into-rustdoc
Feb 3, 2026
Merged

Incorporate README.md into rustdoc where it wasn't already#2273
tarcieri merged 2 commits intomasterfrom
incorporate-readme-into-rustdoc

Conversation

@tarcieri
Copy link
Member

@tarcieri tarcieri commented Feb 3, 2026

The cipher, crypto-common, and digest crates didn't yet do this

@tarcieri tarcieri force-pushed the incorporate-readme-into-rustdoc branch from b7b7497 to c8573f4 Compare February 3, 2026 21:17
The `cipher`, `crypto-common`, and `digest` crates didn't yet do this
@tarcieri tarcieri force-pushed the incorporate-readme-into-rustdoc branch from c8573f4 to c1584f4 Compare February 3, 2026 21:24
)]
#![warn(missing_docs, rust_2018_idioms, missing_debug_implementations)]

//! ## Structure
Copy link
Member

@newpavlov newpavlov Feb 3, 2026

Choose a reason for hiding this comment

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

Ideally it would be nice to move this section to the readme as well, though adding the hack for intra-crate links would be a bit annoying. Otherwise docs would look a bit strange since the license section will be before this one.

Copy link
Member Author

Choose a reason for hiding this comment

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

I think it's fine to have these sections which make heavy use of intra-rustdoc links immediately after the README.md.

It's very tedious to maintain those links otherwise.

@tarcieri tarcieri merged commit 6851f68 into master Feb 3, 2026
79 checks passed
@tarcieri tarcieri deleted the incorporate-readme-into-rustdoc branch February 3, 2026 21:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants