-
Notifications
You must be signed in to change notification settings - Fork 16
[WIP] Awesome API Documentation #14
base: master
Are you sure you want to change the base?
Conversation
Hey, the current status of documentation for this repository is not good. I only see 2 api in the readme whereas there are more than that in the code. @dignifiedquire @daviddias I think nobody is working on this PR? Can I create a new PR with proper documentation? |
@shresthagrawal thank you for the offer! I believe that this module has been deprecated (@vasco-santos can confirm). Would you like to review the modules at https://github.com/libp2p/js-libp2p#packages and see which ones are lacking documentation? Those will be the ones that really benefit from better docs :) |
@daviddias thanks, I am actually trying to create an interactive tutorial (something similar to substrate-kitties) for js-libp2p using this js-libp2p chat example I want to provide proper reference to the documentation in every chapter. In chapter 5 I need to explain the Would also like to know what you generally think of the tutorial idea! |
I guess libp2p/js-libp2p#470 is what made this deprecated. |
The |
Hey @shresthagrawal Thanks for reaching out. We just release Actually, we still have the I want to also thank you for commenting here, as this got out of our radar, but we need to properly deprecate this repo. |
@vasco-santos is there a way to get the list of all peers? like |
We did not see a point in providing that on the API. Anyway, for someone who might want to get all the peers, you can just use the peers map property from |
oh sorry! I didn't realised that the class was exported, I thought it was just the functions. Thanks! Will work on the documentation soon. Can you provide me to some reference that I can use to structure the documentation? |
FYI I created an issue on libp2p/js-libp2p/issues/553, so that we can archive this repo. Regarding structure, I would say that you should have a look into the |
Ref ipfs/js-ipfs#615