-
-
Notifications
You must be signed in to change notification settings - Fork 592
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
Provide examples in documentation for common use cases #430
Comments
|
Yes. I literally have no idea how this works. I need to ask someone who has used it before and even then it's hard since nothing is documented. |
@alexgleason @ilyaigpetrov @pixelass Where would you expect that documentation to live? |
I was expecting to find examples here: http://matrix-org.github.io/matrix-js-sdk/0.12.1/index.html But it's difficult to find this page as well (it's halfway down the README). Maybe this could be made more prominent and a section with examples could be added to it? |
Thanks for the quick reply. I'm not sure, whether JSDoc actually allows for fine granularity. Let's see. I've opened another PR to fix a docs issue and want to learn what the maintainers expect from contributions in this area first. |
I'd love to see some Rust cookbook or MDN Learn style docs for the SDK. Currently attempting to use it for a simple prototype which lists rooms, their messages and allow receiving and sending and I'm finding it a tad hard to achieve that with just the API docs and type information. Edit: Just found the guide on matrix.org through Google, might be worth linking to? Exactly what I was looking for. |
I see you have some example code in the repo, but it would be helpful to show some common tasks as well as how to do them with the SDK in the docs. As it stands it's difficult for a beginner to use this without first grasping all of the concepts of Matrix.
For instance:
Basically some "getting started" tutorial sort of things would be great.
The text was updated successfully, but these errors were encountered: