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

Docs cleanup - framework for filling in later #451

Merged
merged 1 commit into from
Apr 6, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 12 additions & 0 deletions docs/code_of_conduct.rst
Original file line number Diff line number Diff line change
@@ -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: [email protected]
- 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 changes: 4 additions & 0 deletions docs/contributing.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
Contributing
============

TODO - instructions for contributing
13 changes: 6 additions & 7 deletions docs/examples.chat.rst
Original file line number Diff line number Diff line change
Expand Up @@ -8,15 +8,14 @@ examples.chat.chat module
-------------------------

.. automodule:: examples.chat.chat
:members:
:undoc-members:
:show-inheritance:

:members:
:undoc-members:
:show-inheritance:

Module contents
---------------

.. automodule:: examples.chat
:members:
:undoc-members:
:show-inheritance:
:members:
:undoc-members:
:show-inheritance:
23 changes: 16 additions & 7 deletions docs/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -7,15 +7,24 @@ Contents
--------

.. toctree::
:maxdepth: 3
:maxdepth: 1
:caption: General

libp2p
introduction
quickstart
release_notes
examples


Indices and tables
------------------
.. toctree::
:maxdepth: 1
:caption: py-libp2p

examples
API <libp2p>

.. toctree::
:maxdepth: 1
:caption: Community

* :ref:`genindex`
* :ref:`modindex`
contributing
code_of_conduct
11 changes: 11 additions & 0 deletions docs/introduction.rst
Original file line number Diff line number Diff line change
@@ -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/>`_
13 changes: 6 additions & 7 deletions docs/libp2p.crypto.pb.rst
Original file line number Diff line number Diff line change
Expand Up @@ -8,15 +8,14 @@ libp2p.crypto.pb.crypto\_pb2 module
-----------------------------------

.. automodule:: libp2p.crypto.pb.crypto_pb2
:members:
:undoc-members:
:show-inheritance:

:members:
:undoc-members:
:show-inheritance:

Module contents
---------------

.. automodule:: libp2p.crypto.pb
:members:
:undoc-members:
:show-inheritance:
:members:
:undoc-members:
:show-inheritance:
64 changes: 32 additions & 32 deletions docs/libp2p.crypto.rst
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,9 @@ Subpackages
-----------

.. toctree::
:maxdepth: 4

libp2p.crypto.pb
libp2p.crypto.pb

Submodules
----------
Expand All @@ -15,79 +16,78 @@ libp2p.crypto.authenticated\_encryption module
----------------------------------------------

.. automodule:: libp2p.crypto.authenticated_encryption
:members:
:undoc-members:
:show-inheritance:
:members:
:undoc-members:
:show-inheritance:

libp2p.crypto.ecc module
------------------------

.. automodule:: libp2p.crypto.ecc
:members:
:undoc-members:
:show-inheritance:
:members:
:undoc-members:
:show-inheritance:

libp2p.crypto.ed25519 module
----------------------------

.. automodule:: libp2p.crypto.ed25519
:members:
:undoc-members:
:show-inheritance:
:members:
:undoc-members:
:show-inheritance:

libp2p.crypto.exceptions module
-------------------------------

.. automodule:: libp2p.crypto.exceptions
:members:
:undoc-members:
:show-inheritance:
:members:
:undoc-members:
:show-inheritance:

libp2p.crypto.key\_exchange module
----------------------------------

.. automodule:: libp2p.crypto.key_exchange
:members:
:undoc-members:
:show-inheritance:
:members:
:undoc-members:
:show-inheritance:

libp2p.crypto.keys module
-------------------------

.. automodule:: libp2p.crypto.keys
:members:
:undoc-members:
:show-inheritance:
:members:
:undoc-members:
:show-inheritance:

libp2p.crypto.rsa module
------------------------

.. automodule:: libp2p.crypto.rsa
:members:
:undoc-members:
:show-inheritance:
:members:
:undoc-members:
:show-inheritance:

libp2p.crypto.secp256k1 module
------------------------------

.. automodule:: libp2p.crypto.secp256k1
:members:
:undoc-members:
:show-inheritance:
:members:
:undoc-members:
:show-inheritance:

libp2p.crypto.serialization module
----------------------------------

.. automodule:: libp2p.crypto.serialization
:members:
:undoc-members:
:show-inheritance:

:members:
:undoc-members:
:show-inheritance:

Module contents
---------------

.. automodule:: libp2p.crypto
:members:
:undoc-members:
:show-inheritance:
:members:
:undoc-members:
:show-inheritance:
43 changes: 21 additions & 22 deletions docs/libp2p.host.rst
Original file line number Diff line number Diff line change
Expand Up @@ -8,55 +8,54 @@ libp2p.host.basic\_host module
------------------------------

.. automodule:: libp2p.host.basic_host
:members:
:undoc-members:
:show-inheritance:
:members:
:undoc-members:
:show-inheritance:

libp2p.host.defaults module
---------------------------

.. automodule:: libp2p.host.defaults
:members:
:undoc-members:
:show-inheritance:
:members:
:undoc-members:
:show-inheritance:

libp2p.host.exceptions module
-----------------------------

.. automodule:: libp2p.host.exceptions
:members:
:undoc-members:
:show-inheritance:
:members:
:undoc-members:
:show-inheritance:

libp2p.host.host\_interface module
----------------------------------

.. automodule:: libp2p.host.host_interface
:members:
:undoc-members:
:show-inheritance:
:members:
:undoc-members:
:show-inheritance:

libp2p.host.ping module
-----------------------

.. automodule:: libp2p.host.ping
:members:
:undoc-members:
:show-inheritance:
:members:
:undoc-members:
:show-inheritance:

libp2p.host.routed\_host module
-------------------------------

.. automodule:: libp2p.host.routed_host
:members:
:undoc-members:
:show-inheritance:

:members:
:undoc-members:
:show-inheritance:

Module contents
---------------

.. automodule:: libp2p.host
:members:
:undoc-members:
:show-inheritance:
:members:
:undoc-members:
:show-inheritance:
13 changes: 6 additions & 7 deletions docs/libp2p.identity.identify.pb.rst
Original file line number Diff line number Diff line change
Expand Up @@ -8,15 +8,14 @@ libp2p.identity.identify.pb.identify\_pb2 module
------------------------------------------------

.. automodule:: libp2p.identity.identify.pb.identify_pb2
:members:
:undoc-members:
:show-inheritance:

:members:
:undoc-members:
:show-inheritance:

Module contents
---------------

.. automodule:: libp2p.identity.identify.pb
:members:
:undoc-members:
:show-inheritance:
:members:
:undoc-members:
:show-inheritance:
16 changes: 8 additions & 8 deletions docs/libp2p.identity.identify.rst
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,9 @@ Subpackages
-----------

.. toctree::
:maxdepth: 4

libp2p.identity.identify.pb
libp2p.identity.identify.pb

Submodules
----------
Expand All @@ -15,15 +16,14 @@ libp2p.identity.identify.protocol module
----------------------------------------

.. automodule:: libp2p.identity.identify.protocol
:members:
:undoc-members:
:show-inheritance:

:members:
:undoc-members:
:show-inheritance:

Module contents
---------------

.. automodule:: libp2p.identity.identify
:members:
:undoc-members:
:show-inheritance:
:members:
:undoc-members:
:show-inheritance:
9 changes: 5 additions & 4 deletions docs/libp2p.identity.rst
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,14 @@ Subpackages
-----------

.. toctree::
:maxdepth: 4

libp2p.identity.identify
libp2p.identity.identify

Module contents
---------------

.. automodule:: libp2p.identity
:members:
:undoc-members:
:show-inheritance:
:members:
:undoc-members:
:show-inheritance:
Loading