Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve the top level crate documentation #1467

Merged
merged 1 commit into from
Apr 18, 2024

Conversation

MabezDev
Copy link
Member

Thank you for your contribution!

We appreciate the time and effort you've put into this pull request.
To help us review it efficiently, please ensure you've gone through the following checklist:

Submission Checklist 📝

  • I have updated existing examples or added new ones (if applicable).
  • My changes were added to the CHANGELOG.md in the proper section.

Extra:

I wanted to expand a little on our top level docs as to what the hal is and how to use it. I have tried to keep it as brief as possible. I also lifted the docsrs style as outlined in https://docs.rs/document-features/latest/document_features/#customization and I think it helps differentiate the readable content from the "features" content

Check out the rendered pages here: https://mabezdev.github.io/esp-hal/

@MabezDev MabezDev added the skip-changelog No changelog modification needed label Apr 17, 2024
@MabezDev MabezDev force-pushed the top-level-docs branch 2 times, most recently from a2f1b7b to 81e7039 Compare April 17, 2024 22:49
//! cargo xtask help
//! ```
//!
//! ## Project generation
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 imagine when $GLUE_CRATE exists, this documentation will move there. I'm not raving about it being here, but I think for now its worth adding, and its short enough to not be too invasive imo

esp-hal/src/lib.rs Outdated Show resolved Hide resolved
esp-hal/src/lib.rs Outdated Show resolved Hide resolved
esp-hal/src/lib.rs Outdated Show resolved Hide resolved
Copy link
Contributor

@JurajSadel JurajSadel left a comment

Choose a reason for hiding this comment

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

LGTM, just adding a few ideas that come to my mind :)

esp-hal/src/lib.rs Outdated Show resolved Hide resolved
esp-hal/src/lib.rs Outdated Show resolved Hide resolved
esp-hal/src/lib.rs Show resolved Hide resolved
@MabezDev MabezDev force-pushed the top-level-docs branch 2 times, most recently from e1feaff to 30e2913 Compare April 18, 2024 12:58
Copy link
Contributor

@JurajSadel JurajSadel left a comment

Choose a reason for hiding this comment

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

LGTM, thanks!

Copy link
Contributor

@bjoernQ bjoernQ left a comment

Choose a reason for hiding this comment

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

Thanks!

@MabezDev MabezDev added this pull request to the merge queue Apr 18, 2024
Merged via the queue into esp-rs:main with commit 39a75ba Apr 18, 2024
21 checks passed
@MabezDev MabezDev deleted the top-level-docs branch April 18, 2024 16:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
skip-changelog No changelog modification needed
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants