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

Broken doc.rs #67

Open
lestofante opened this issue Nov 18, 2022 · 2 comments
Open

Broken doc.rs #67

lestofante opened this issue Nov 18, 2022 · 2 comments
Labels
bug Something isn't working

Comments

@lestofante
Copy link

I have a strange issue with the docs at https://docs.rs/stm32-hal2/latest/stm32_hal2/spi/struct.SpiConfig.html
if i click "Mode"
image

i land to a "no result found" page.

not sure what is going on there, if a bug in the doc.rs or this project

@David-OConnor
Copy link
Owner

David-OConnor commented Nov 18, 2022

Oh weird! Same. I wonder if it has to do with the embedded_hal feature gate on the SpiModeType that it should link to. It looks like SpiMode is missing entirely from the docs.

edit: There was a recent PR that, when the embedded-hal feature was enabled, it made that field's type an EH field that handles SPI mode. If not enabled, it uses a type native to this crate's SPI module. Maybe the docs is having a struggle with the feature-gates?

@David-OConnor David-OConnor added the bug Something isn't working label Nov 18, 2022
@David-OConnor
Copy link
Owner

If anyone has thoughts or fixes on this, LMK

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants