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

[Search] Cannot find "microbit.accelerometer" and similar module docs by typing accelerometer #850

Open
microbit-matt-hillsdon opened this issue Jul 28, 2022 · 3 comments

Comments

@microbit-matt-hillsdon
Copy link
Collaborator

microbit-matt-hillsdon commented Jul 28, 2022

Support: https://microbitfoundation.freshdesk.com/a/tickets/55541

You cannot find "microbit.accelerometer" and similar module docs by typing "accelerometer" in Search.

It works if you type the full module name of "microbit.accelerometer" but no-one is likely to do this.

We should reconsider what (or how) we index here to improve matching microbit.* module names.

@microbit-carlos
Copy link
Contributor

If the technical solution turns out to be too complex, a workaround could be to mention the module name in the description. for example, SPI shows up because of that (but uart, i2c, etc don't).
image

@microbit-robert
Copy link
Collaborator

Some improvement was made in this PR which can be tested using the beta.

@microbit-carlos
Copy link
Contributor

Works a treat, thanks Rob!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants