Skip to content

doc: Add README for shared, and link READMEs in the crates#175

Merged
geonnave merged 1 commit intolake-rs:mainfrom
chrysn-pull-requests:readme
Dec 13, 2023
Merged

doc: Add README for shared, and link READMEs in the crates#175
geonnave merged 1 commit intolake-rs:mainfrom
chrysn-pull-requests:readme

Conversation

@chrysn
Copy link
Copy Markdown
Member

@chrysn chrysn commented Dec 12, 2023

This should fix the big looming "appears to have no README.md file" texts on crates.io. I don't think we can really test this other than wait what it looks like after the next release, but the absense of "unused manifest key" warnings in a cargo check is a good sign.

The main crate just uses the top-level README; all others use a shared one that points to the main crate.

version = "0.4.1"
repository = "https://github.com/openwsn-berkeley/edhoc-rs/"
license = "BSD-3-Clause"
readme = "shared/README.md"
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

why it points to the README of the shared crate?

@geonnave
Copy link
Copy Markdown
Collaborator

Thank you for this PR, it looks good. Left one minor comment.

@geonnave geonnave added the area:documentation Improvements or additions to documentation label Dec 13, 2023
@chrysn
Copy link
Copy Markdown
Member Author

chrysn commented Dec 13, 2023 via email

@geonnave
Copy link
Copy Markdown
Collaborator

I see, then it can just be overridden when crate-specific READMEs are added. Cool!

@geonnave geonnave merged commit d341ed1 into lake-rs:main Dec 13, 2023
@chrysn chrysn deleted the readme branch December 13, 2023 11:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area:documentation Improvements or additions to documentation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants