Closed mycognosist closed 4 months ago
Just a suggestion; feel free to ignore.
We could move the existing crate-level docs in src/lib.rs to README.md and then simply import them in src/lib.rs with #![doc = include_str!("../README.md")]. Then we have parity between crate-level docs and README.
src/lib.rs
README.md
#![doc = include_str!("../README.md")]
Huh, I didn't know about that. Works for me!
Cool. I'll open a PR.
Addressed in https://github.com/worm-blossom/ufotofu/pull/25
Just a suggestion; feel free to ignore.
We could move the existing crate-level docs in
src/lib.rs
toREADME.md
and then simply import them insrc/lib.rs
with#![doc = include_str!("../README.md")]
. Then we have parity between crate-level docs and README.