mirror of
https://github.com/varun-r-mallya/py-libp2p.git
synced 2026-02-12 16:10:57 +00:00
Create frame for friendlier docs, rebuild autodocs
This commit is contained in:
12
docs/code_of_conduct.rst
Normal file
12
docs/code_of_conduct.rst
Normal file
@ -0,0 +1,12 @@
|
|||||||
|
Code of Conduct
|
||||||
|
===============
|
||||||
|
|
||||||
|
The libp2p project operates under the `IPFS Code of Conduct <https://github.com/ipfs/community/blob/master/code-of-conduct.md>`_
|
||||||
|
|
||||||
|
tl;dr:
|
||||||
|
|
||||||
|
- Be respectful.
|
||||||
|
- We're here to help: abuse@ipfs.io
|
||||||
|
- Abusive behavior is never tolerated.
|
||||||
|
- Violations of this code may result in swift and permanent expulsion from the IPFS [and libp2p] community.
|
||||||
|
- "Too long, didn't read" is not a valid excuse for not knowing what is in this document.
|
||||||
4
docs/contributing.rst
Normal file
4
docs/contributing.rst
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
Contributing
|
||||||
|
============
|
||||||
|
|
||||||
|
TODO - instructions for contributing
|
||||||
@ -12,7 +12,6 @@ examples.chat.chat module
|
|||||||
:undoc-members:
|
:undoc-members:
|
||||||
:show-inheritance:
|
:show-inheritance:
|
||||||
|
|
||||||
|
|
||||||
Module contents
|
Module contents
|
||||||
---------------
|
---------------
|
||||||
|
|
||||||
|
|||||||
@ -7,15 +7,24 @@ Contents
|
|||||||
--------
|
--------
|
||||||
|
|
||||||
.. toctree::
|
.. toctree::
|
||||||
:maxdepth: 3
|
:maxdepth: 1
|
||||||
|
:caption: General
|
||||||
|
|
||||||
libp2p
|
introduction
|
||||||
|
quickstart
|
||||||
release_notes
|
release_notes
|
||||||
|
|
||||||
|
|
||||||
|
.. toctree::
|
||||||
|
:maxdepth: 1
|
||||||
|
:caption: py-libp2p
|
||||||
|
|
||||||
examples
|
examples
|
||||||
|
API <libp2p>
|
||||||
|
|
||||||
|
.. toctree::
|
||||||
|
:maxdepth: 1
|
||||||
|
:caption: Community
|
||||||
|
|
||||||
Indices and tables
|
contributing
|
||||||
------------------
|
code_of_conduct
|
||||||
|
|
||||||
* :ref:`genindex`
|
|
||||||
* :ref:`modindex`
|
|
||||||
|
|||||||
11
docs/introduction.rst
Normal file
11
docs/introduction.rst
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
Introduction
|
||||||
|
============
|
||||||
|
|
||||||
|
py-libp2p is the Python implementation of the libp2p networking stack.
|
||||||
|
It hopes to someday be fully compatible with other implementations of libp2p.
|
||||||
|
|
||||||
|
This project is still in its early stages, and is not yet ready for production use.
|
||||||
|
|
||||||
|
Further Reading
|
||||||
|
---------------
|
||||||
|
`libp2p main site <https://libp2p.io/>`_
|
||||||
@ -12,7 +12,6 @@ libp2p.crypto.pb.crypto\_pb2 module
|
|||||||
:undoc-members:
|
:undoc-members:
|
||||||
:show-inheritance:
|
:show-inheritance:
|
||||||
|
|
||||||
|
|
||||||
Module contents
|
Module contents
|
||||||
---------------
|
---------------
|
||||||
|
|
||||||
|
|||||||
@ -5,6 +5,7 @@ Subpackages
|
|||||||
-----------
|
-----------
|
||||||
|
|
||||||
.. toctree::
|
.. toctree::
|
||||||
|
:maxdepth: 4
|
||||||
|
|
||||||
libp2p.crypto.pb
|
libp2p.crypto.pb
|
||||||
|
|
||||||
@ -83,7 +84,6 @@ libp2p.crypto.serialization module
|
|||||||
:undoc-members:
|
:undoc-members:
|
||||||
:show-inheritance:
|
:show-inheritance:
|
||||||
|
|
||||||
|
|
||||||
Module contents
|
Module contents
|
||||||
---------------
|
---------------
|
||||||
|
|
||||||
|
|||||||
@ -52,7 +52,6 @@ libp2p.host.routed\_host module
|
|||||||
:undoc-members:
|
:undoc-members:
|
||||||
:show-inheritance:
|
:show-inheritance:
|
||||||
|
|
||||||
|
|
||||||
Module contents
|
Module contents
|
||||||
---------------
|
---------------
|
||||||
|
|
||||||
|
|||||||
@ -12,7 +12,6 @@ libp2p.identity.identify.pb.identify\_pb2 module
|
|||||||
:undoc-members:
|
:undoc-members:
|
||||||
:show-inheritance:
|
:show-inheritance:
|
||||||
|
|
||||||
|
|
||||||
Module contents
|
Module contents
|
||||||
---------------
|
---------------
|
||||||
|
|
||||||
|
|||||||
@ -5,6 +5,7 @@ Subpackages
|
|||||||
-----------
|
-----------
|
||||||
|
|
||||||
.. toctree::
|
.. toctree::
|
||||||
|
:maxdepth: 4
|
||||||
|
|
||||||
libp2p.identity.identify.pb
|
libp2p.identity.identify.pb
|
||||||
|
|
||||||
@ -19,7 +20,6 @@ libp2p.identity.identify.protocol module
|
|||||||
:undoc-members:
|
:undoc-members:
|
||||||
:show-inheritance:
|
:show-inheritance:
|
||||||
|
|
||||||
|
|
||||||
Module contents
|
Module contents
|
||||||
---------------
|
---------------
|
||||||
|
|
||||||
|
|||||||
@ -5,6 +5,7 @@ Subpackages
|
|||||||
-----------
|
-----------
|
||||||
|
|
||||||
.. toctree::
|
.. toctree::
|
||||||
|
:maxdepth: 4
|
||||||
|
|
||||||
libp2p.identity.identify
|
libp2p.identity.identify
|
||||||
|
|
||||||
|
|||||||
@ -28,6 +28,14 @@ libp2p.io.msgio module
|
|||||||
:undoc-members:
|
:undoc-members:
|
||||||
:show-inheritance:
|
:show-inheritance:
|
||||||
|
|
||||||
|
libp2p.io.trio module
|
||||||
|
---------------------
|
||||||
|
|
||||||
|
.. automodule:: libp2p.io.trio
|
||||||
|
:members:
|
||||||
|
:undoc-members:
|
||||||
|
:show-inheritance:
|
||||||
|
|
||||||
libp2p.io.utils module
|
libp2p.io.utils module
|
||||||
----------------------
|
----------------------
|
||||||
|
|
||||||
@ -36,7 +44,6 @@ libp2p.io.utils module
|
|||||||
:undoc-members:
|
:undoc-members:
|
||||||
:show-inheritance:
|
:show-inheritance:
|
||||||
|
|
||||||
|
|
||||||
Module contents
|
Module contents
|
||||||
---------------
|
---------------
|
||||||
|
|
||||||
|
|||||||
@ -44,7 +44,6 @@ libp2p.network.connection.swarm\_connection module
|
|||||||
:undoc-members:
|
:undoc-members:
|
||||||
:show-inheritance:
|
:show-inheritance:
|
||||||
|
|
||||||
|
|
||||||
Module contents
|
Module contents
|
||||||
---------------
|
---------------
|
||||||
|
|
||||||
|
|||||||
@ -5,6 +5,7 @@ Subpackages
|
|||||||
-----------
|
-----------
|
||||||
|
|
||||||
.. toctree::
|
.. toctree::
|
||||||
|
:maxdepth: 4
|
||||||
|
|
||||||
libp2p.network.connection
|
libp2p.network.connection
|
||||||
libp2p.network.stream
|
libp2p.network.stream
|
||||||
@ -44,7 +45,6 @@ libp2p.network.swarm module
|
|||||||
:undoc-members:
|
:undoc-members:
|
||||||
:show-inheritance:
|
:show-inheritance:
|
||||||
|
|
||||||
|
|
||||||
Module contents
|
Module contents
|
||||||
---------------
|
---------------
|
||||||
|
|
||||||
|
|||||||
@ -28,7 +28,6 @@ libp2p.network.stream.net\_stream\_interface module
|
|||||||
:undoc-members:
|
:undoc-members:
|
||||||
:show-inheritance:
|
:show-inheritance:
|
||||||
|
|
||||||
|
|
||||||
Module contents
|
Module contents
|
||||||
---------------
|
---------------
|
||||||
|
|
||||||
|
|||||||
@ -68,7 +68,6 @@ libp2p.peer.peerstore\_interface module
|
|||||||
:undoc-members:
|
:undoc-members:
|
||||||
:show-inheritance:
|
:show-inheritance:
|
||||||
|
|
||||||
|
|
||||||
Module contents
|
Module contents
|
||||||
---------------
|
---------------
|
||||||
|
|
||||||
|
|||||||
@ -60,7 +60,6 @@ libp2p.protocol\_muxer.multiselect\_muxer\_interface module
|
|||||||
:undoc-members:
|
:undoc-members:
|
||||||
:show-inheritance:
|
:show-inheritance:
|
||||||
|
|
||||||
|
|
||||||
Module contents
|
Module contents
|
||||||
---------------
|
---------------
|
||||||
|
|
||||||
|
|||||||
@ -12,7 +12,6 @@ libp2p.pubsub.pb.rpc\_pb2 module
|
|||||||
:undoc-members:
|
:undoc-members:
|
||||||
:show-inheritance:
|
:show-inheritance:
|
||||||
|
|
||||||
|
|
||||||
Module contents
|
Module contents
|
||||||
---------------
|
---------------
|
||||||
|
|
||||||
|
|||||||
@ -5,6 +5,7 @@ Subpackages
|
|||||||
-----------
|
-----------
|
||||||
|
|
||||||
.. toctree::
|
.. toctree::
|
||||||
|
:maxdepth: 4
|
||||||
|
|
||||||
libp2p.pubsub.pb
|
libp2p.pubsub.pb
|
||||||
|
|
||||||
@ -75,6 +76,14 @@ libp2p.pubsub.subscription module
|
|||||||
:undoc-members:
|
:undoc-members:
|
||||||
:show-inheritance:
|
:show-inheritance:
|
||||||
|
|
||||||
|
libp2p.pubsub.typing module
|
||||||
|
---------------------------
|
||||||
|
|
||||||
|
.. automodule:: libp2p.pubsub.typing
|
||||||
|
:members:
|
||||||
|
:undoc-members:
|
||||||
|
:show-inheritance:
|
||||||
|
|
||||||
libp2p.pubsub.validators module
|
libp2p.pubsub.validators module
|
||||||
-------------------------------
|
-------------------------------
|
||||||
|
|
||||||
@ -83,7 +92,6 @@ libp2p.pubsub.validators module
|
|||||||
:undoc-members:
|
:undoc-members:
|
||||||
:show-inheritance:
|
:show-inheritance:
|
||||||
|
|
||||||
|
|
||||||
Module contents
|
Module contents
|
||||||
---------------
|
---------------
|
||||||
|
|
||||||
|
|||||||
@ -1,7 +1,6 @@
|
|||||||
libp2p.routing package
|
libp2p.routing package
|
||||||
======================
|
======================
|
||||||
|
|
||||||
|
|
||||||
Submodules
|
Submodules
|
||||||
----------
|
----------
|
||||||
|
|
||||||
@ -13,7 +12,6 @@ libp2p.routing.interfaces module
|
|||||||
:undoc-members:
|
:undoc-members:
|
||||||
:show-inheritance:
|
:show-inheritance:
|
||||||
|
|
||||||
|
|
||||||
Module contents
|
Module contents
|
||||||
---------------
|
---------------
|
||||||
|
|
||||||
|
|||||||
@ -5,6 +5,7 @@ Subpackages
|
|||||||
-----------
|
-----------
|
||||||
|
|
||||||
.. toctree::
|
.. toctree::
|
||||||
|
:maxdepth: 4
|
||||||
|
|
||||||
libp2p.crypto
|
libp2p.crypto
|
||||||
libp2p.host
|
libp2p.host
|
||||||
@ -47,7 +48,6 @@ libp2p.utils module
|
|||||||
:undoc-members:
|
:undoc-members:
|
||||||
:show-inheritance:
|
:show-inheritance:
|
||||||
|
|
||||||
|
|
||||||
Module contents
|
Module contents
|
||||||
---------------
|
---------------
|
||||||
|
|
||||||
|
|||||||
@ -12,7 +12,6 @@ libp2p.security.insecure.pb.plaintext\_pb2 module
|
|||||||
:undoc-members:
|
:undoc-members:
|
||||||
:show-inheritance:
|
:show-inheritance:
|
||||||
|
|
||||||
|
|
||||||
Module contents
|
Module contents
|
||||||
---------------
|
---------------
|
||||||
|
|
||||||
|
|||||||
@ -5,6 +5,7 @@ Subpackages
|
|||||||
-----------
|
-----------
|
||||||
|
|
||||||
.. toctree::
|
.. toctree::
|
||||||
|
:maxdepth: 4
|
||||||
|
|
||||||
libp2p.security.insecure.pb
|
libp2p.security.insecure.pb
|
||||||
|
|
||||||
@ -19,7 +20,6 @@ libp2p.security.insecure.transport module
|
|||||||
:undoc-members:
|
:undoc-members:
|
||||||
:show-inheritance:
|
:show-inheritance:
|
||||||
|
|
||||||
|
|
||||||
Module contents
|
Module contents
|
||||||
---------------
|
---------------
|
||||||
|
|
||||||
|
|||||||
@ -12,7 +12,6 @@ libp2p.security.noise.pb.noise\_pb2 module
|
|||||||
:undoc-members:
|
:undoc-members:
|
||||||
:show-inheritance:
|
:show-inheritance:
|
||||||
|
|
||||||
|
|
||||||
Module contents
|
Module contents
|
||||||
---------------
|
---------------
|
||||||
|
|
||||||
|
|||||||
@ -5,6 +5,7 @@ Subpackages
|
|||||||
-----------
|
-----------
|
||||||
|
|
||||||
.. toctree::
|
.. toctree::
|
||||||
|
:maxdepth: 4
|
||||||
|
|
||||||
libp2p.security.noise.pb
|
libp2p.security.noise.pb
|
||||||
|
|
||||||
@ -51,7 +52,6 @@ libp2p.security.noise.transport module
|
|||||||
:undoc-members:
|
:undoc-members:
|
||||||
:show-inheritance:
|
:show-inheritance:
|
||||||
|
|
||||||
|
|
||||||
Module contents
|
Module contents
|
||||||
---------------
|
---------------
|
||||||
|
|
||||||
|
|||||||
@ -5,6 +5,7 @@ Subpackages
|
|||||||
-----------
|
-----------
|
||||||
|
|
||||||
.. toctree::
|
.. toctree::
|
||||||
|
:maxdepth: 4
|
||||||
|
|
||||||
libp2p.security.insecure
|
libp2p.security.insecure
|
||||||
libp2p.security.noise
|
libp2p.security.noise
|
||||||
@ -45,6 +46,14 @@ libp2p.security.secure\_conn\_interface module
|
|||||||
:undoc-members:
|
:undoc-members:
|
||||||
:show-inheritance:
|
:show-inheritance:
|
||||||
|
|
||||||
|
libp2p.security.secure\_session module
|
||||||
|
--------------------------------------
|
||||||
|
|
||||||
|
.. automodule:: libp2p.security.secure_session
|
||||||
|
:members:
|
||||||
|
:undoc-members:
|
||||||
|
:show-inheritance:
|
||||||
|
|
||||||
libp2p.security.secure\_transport\_interface module
|
libp2p.security.secure\_transport\_interface module
|
||||||
---------------------------------------------------
|
---------------------------------------------------
|
||||||
|
|
||||||
@ -61,7 +70,6 @@ libp2p.security.security\_multistream module
|
|||||||
:undoc-members:
|
:undoc-members:
|
||||||
:show-inheritance:
|
:show-inheritance:
|
||||||
|
|
||||||
|
|
||||||
Module contents
|
Module contents
|
||||||
---------------
|
---------------
|
||||||
|
|
||||||
|
|||||||
@ -12,7 +12,6 @@ libp2p.security.secio.pb.spipe\_pb2 module
|
|||||||
:undoc-members:
|
:undoc-members:
|
||||||
:show-inheritance:
|
:show-inheritance:
|
||||||
|
|
||||||
|
|
||||||
Module contents
|
Module contents
|
||||||
---------------
|
---------------
|
||||||
|
|
||||||
|
|||||||
@ -5,6 +5,7 @@ Subpackages
|
|||||||
-----------
|
-----------
|
||||||
|
|
||||||
.. toctree::
|
.. toctree::
|
||||||
|
:maxdepth: 4
|
||||||
|
|
||||||
libp2p.security.secio.pb
|
libp2p.security.secio.pb
|
||||||
|
|
||||||
@ -27,7 +28,6 @@ libp2p.security.secio.transport module
|
|||||||
:undoc-members:
|
:undoc-members:
|
||||||
:show-inheritance:
|
:show-inheritance:
|
||||||
|
|
||||||
|
|
||||||
Module contents
|
Module contents
|
||||||
---------------
|
---------------
|
||||||
|
|
||||||
|
|||||||
@ -44,7 +44,6 @@ libp2p.stream\_muxer.mplex.mplex\_stream module
|
|||||||
:undoc-members:
|
:undoc-members:
|
||||||
:show-inheritance:
|
:show-inheritance:
|
||||||
|
|
||||||
|
|
||||||
Module contents
|
Module contents
|
||||||
---------------
|
---------------
|
||||||
|
|
||||||
|
|||||||
@ -5,6 +5,7 @@ Subpackages
|
|||||||
-----------
|
-----------
|
||||||
|
|
||||||
.. toctree::
|
.. toctree::
|
||||||
|
:maxdepth: 4
|
||||||
|
|
||||||
libp2p.stream_muxer.mplex
|
libp2p.stream_muxer.mplex
|
||||||
|
|
||||||
@ -35,7 +36,6 @@ libp2p.stream\_muxer.muxer\_multistream module
|
|||||||
:undoc-members:
|
:undoc-members:
|
||||||
:show-inheritance:
|
:show-inheritance:
|
||||||
|
|
||||||
|
|
||||||
Module contents
|
Module contents
|
||||||
---------------
|
---------------
|
||||||
|
|
||||||
|
|||||||
@ -28,7 +28,6 @@ libp2p.tools.pubsub.utils module
|
|||||||
:undoc-members:
|
:undoc-members:
|
||||||
:show-inheritance:
|
:show-inheritance:
|
||||||
|
|
||||||
|
|
||||||
Module contents
|
Module contents
|
||||||
---------------
|
---------------
|
||||||
|
|
||||||
|
|||||||
@ -5,11 +5,10 @@ Subpackages
|
|||||||
-----------
|
-----------
|
||||||
|
|
||||||
.. toctree::
|
.. toctree::
|
||||||
|
:maxdepth: 4
|
||||||
|
|
||||||
libp2p.tools.pubsub
|
libp2p.tools.pubsub
|
||||||
|
|
||||||
The interop module is left out for now, because of the extra dependencies it requires.
|
|
||||||
|
|
||||||
Submodules
|
Submodules
|
||||||
----------
|
----------
|
||||||
|
|
||||||
@ -37,7 +36,6 @@ libp2p.tools.utils module
|
|||||||
:undoc-members:
|
:undoc-members:
|
||||||
:show-inheritance:
|
:show-inheritance:
|
||||||
|
|
||||||
|
|
||||||
Module contents
|
Module contents
|
||||||
---------------
|
---------------
|
||||||
|
|
||||||
|
|||||||
@ -5,6 +5,7 @@ Subpackages
|
|||||||
-----------
|
-----------
|
||||||
|
|
||||||
.. toctree::
|
.. toctree::
|
||||||
|
:maxdepth: 4
|
||||||
|
|
||||||
libp2p.transport.tcp
|
libp2p.transport.tcp
|
||||||
|
|
||||||
@ -51,7 +52,6 @@ libp2p.transport.upgrader module
|
|||||||
:undoc-members:
|
:undoc-members:
|
||||||
:show-inheritance:
|
:show-inheritance:
|
||||||
|
|
||||||
|
|
||||||
Module contents
|
Module contents
|
||||||
---------------
|
---------------
|
||||||
|
|
||||||
|
|||||||
@ -12,7 +12,6 @@ libp2p.transport.tcp.tcp module
|
|||||||
:undoc-members:
|
:undoc-members:
|
||||||
:show-inheritance:
|
:show-inheritance:
|
||||||
|
|
||||||
|
|
||||||
Module contents
|
Module contents
|
||||||
---------------
|
---------------
|
||||||
|
|
||||||
|
|||||||
4
docs/quickstart.rst
Normal file
4
docs/quickstart.rst
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
Quickstart
|
||||||
|
================
|
||||||
|
|
||||||
|
TODO - add quickstart instructions
|
||||||
Reference in New Issue
Block a user