Skip to content

Commit

Permalink
Use README as documented's module level documentation
Browse files Browse the repository at this point in the history
This also makes `documented-test::readme` entirely unnecessary
  • Loading branch information
cyqsimon committed Oct 21, 2024
1 parent 10a817e commit 1ab4d0b
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 59 deletions.
56 changes: 0 additions & 56 deletions documented-test/build.rs

This file was deleted.

1 change: 0 additions & 1 deletion documented-test/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,3 @@

mod attr;
mod derive;
mod readme;
2 changes: 0 additions & 2 deletions documented-test/src/readme.rs

This file was deleted.

2 changes: 2 additions & 0 deletions lib/src/lib.rs
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
#![doc = include_str!("../../README.md")]

pub use documented_macros::{
docs_const, Documented, DocumentedFields, DocumentedFieldsOpt, DocumentedOpt,
DocumentedVariants, DocumentedVariantsOpt,
Expand Down

0 comments on commit 1ab4d0b

Please sign in to comment.