Skip to content

Conversation

@jessebraham
Copy link
Member

This PR got a little off the rails, so sorry for mixing different changes.

Simplifies our re-exports (both in the chip-specific HALs and in esp-hal-common) and hides a number of exported macros which should not be displayed in documentation.

Additionally adds package-level docs for each chip-specific HAL, and adds some basic module/type doc strings so that at least the landing page for our packages on docs.rs looks nice 😁

@playfulFence, @SergioGasquez, and I will be working on improving documentation moving forward.

@jessebraham
Copy link
Member Author

I've additionally collapsed all the PRs for ESP32-H2 support into a single CHANGELOG entry. I can revert this if people are not a fan, but I don't think they all need to be split up personally.

Copy link
Member

@SergioGasquez SergioGasquez 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!

@jessebraham jessebraham force-pushed the feature/docs branch 2 times, most recently from de8dba4 to d1ff007 Compare June 21, 2023 13:57
@jessebraham jessebraham merged commit 5af8b63 into esp-rs:main Jun 22, 2023
@jessebraham jessebraham deleted the feature/docs branch June 22, 2023 13:50
MabezDev pushed a commit that referenced this pull request Jul 12, 2023
* Create issue_handler.yml

* No longer re-export `embedded-hal`, hide exported macros in documentation

* Add simple package-level documentation for each HAL package

* Clean up/simplify re-exports

* Fix the examples that I broke

* Ensure top-level modules/types/functions have doc comments

* Update CHANGELOG

* Re-export the `soc::psram` module where available

---------

Co-authored-by: Sergio Gasquez Arcos <[email protected]>
playfulFence pushed a commit to playfulFence/esp-hal that referenced this pull request Sep 26, 2023
…-rs#607)

* Create issue_handler.yml

* No longer re-export `embedded-hal`, hide exported macros in documentation

* Add simple package-level documentation for each HAL package

* Clean up/simplify re-exports

* Fix the examples that I broke

* Ensure top-level modules/types/functions have doc comments

* Update CHANGELOG

* Re-export the `soc::psram` module where available

---------

Co-authored-by: Sergio Gasquez Arcos <[email protected]>
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.

4 participants