diff --git a/docs/source/pyrogram.Error.rst b/docs/source/pyrogram.Error.rst deleted file mode 100644 index 0bf2776c..00000000 --- a/docs/source/pyrogram.Error.rst +++ /dev/null @@ -1,14 +0,0 @@ -pyrogram.Error -=============== - -.. autoexception:: pyrogram.Error - :members: - :show-inheritance: - -.. toctree:: - errors/303_see_other - errors/400_bad_request - errors/401_unauthorized - errors/420_flood - errors/500_internal_server_error - errors/520_unknown_error diff --git a/docs/source/pyrogram.ChatAction.rst b/docs/source/pyrogram/ChatAction.rst similarity index 63% rename from docs/source/pyrogram.ChatAction.rst rename to docs/source/pyrogram/ChatAction.rst index 750c725f..a7d5975d 100644 --- a/docs/source/pyrogram.ChatAction.rst +++ b/docs/source/pyrogram/ChatAction.rst @@ -1,5 +1,5 @@ -pyrogram.ChatAction -=================== +ChatAction +========== .. autoclass:: pyrogram.ChatAction :members: diff --git a/docs/source/pyrogram.Client.rst b/docs/source/pyrogram/Client.rst similarity index 58% rename from docs/source/pyrogram.Client.rst rename to docs/source/pyrogram/Client.rst index a7e395f5..c0c4e667 100644 --- a/docs/source/pyrogram.Client.rst +++ b/docs/source/pyrogram/Client.rst @@ -1,5 +1,5 @@ -pyrogram.Client -=============== +Client +====== .. autoclass:: pyrogram.Client :members: diff --git a/docs/source/pyrogram/Error.rst b/docs/source/pyrogram/Error.rst new file mode 100644 index 00000000..af59b1e5 --- /dev/null +++ b/docs/source/pyrogram/Error.rst @@ -0,0 +1,14 @@ +Error +===== + +.. autoexception:: pyrogram.Error + :members: + :show-inheritance: + +.. toctree:: + ../errors/303_see_other + ../errors/400_bad_request + ../errors/401_unauthorized + ../errors/420_flood + ../errors/500_internal_server_error + ../errors/520_unknown_error