-
Notifications
You must be signed in to change notification settings - Fork 131
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
Restrict api methods with platform #447
Comments
Hi I would really like to work on this but do we have a design for the filter button or toggle? |
Hi, |
@DevanceJ I think we would want to do it with JavaScript on the website rather than modifying the source MDX files. The information is already embedded into the Markdown header for each API. |
By adding a Filter logic Plugin to docusaurus maybe what do you think. Should I try working on a filter logic? |
You mean a Remark plugin for the Docusaurus config? I'm not sure how it would look in practice off the top of my head but feel free to experiment! |
Not sure how many people this could benefit, but the docs could benefit from being able to hide methods that are platform specific. For example, I'm currently hired to develop for Windows only, and have to scroll through many macOS specific methods. It would be nice to filter both the view and the sidebar to a specific platform for faster reading.
The text was updated successfully, but these errors were encountered: