From 52f85586b8929f635c21d0b856a3f4bfb455197f Mon Sep 17 00:00:00 2001 From: mhchia Date: Tue, 7 Jan 2020 15:41:44 +0800 Subject: [PATCH] Fix docs --- docs/libp2p.pubsub.rst | 22 +++++++++++++++++++--- libp2p/kademlia/__init__.py | 2 -- 2 files changed, 19 insertions(+), 5 deletions(-) delete mode 100644 libp2p/kademlia/__init__.py diff --git a/docs/libp2p.pubsub.rst b/docs/libp2p.pubsub.rst index d217772..38dce6f 100644 --- a/docs/libp2p.pubsub.rst +++ b/docs/libp2p.pubsub.rst @@ -11,6 +11,22 @@ Subpackages Submodules ---------- +libp2p.pubsub.abc module +------------------------ + +.. automodule:: libp2p.pubsub.abc + :members: + :undoc-members: + :show-inheritance: + +libp2p.pubsub.exceptions module +------------------------------- + +.. automodule:: libp2p.pubsub.exceptions + :members: + :undoc-members: + :show-inheritance: + libp2p.pubsub.floodsub module ----------------------------- @@ -51,10 +67,10 @@ libp2p.pubsub.pubsub\_notifee module :undoc-members: :show-inheritance: -libp2p.pubsub.pubsub\_router\_interface module ----------------------------------------------- +libp2p.pubsub.subscription module +--------------------------------- -.. automodule:: libp2p.pubsub.pubsub_router_interface +.. automodule:: libp2p.pubsub.subscription :members: :undoc-members: :show-inheritance: diff --git a/libp2p/kademlia/__init__.py b/libp2p/kademlia/__init__.py deleted file mode 100644 index e85d6e0..0000000 --- a/libp2p/kademlia/__init__.py +++ /dev/null @@ -1,2 +0,0 @@ -"""Kademlia is a Python implementation of the Kademlia protocol.""" -__version__ = "2.0"