From 988f41c6cfb746ce223651c5917d95ff20d0bf13 Mon Sep 17 00:00:00 2001 From: Dan <14043624+delivrance@users.noreply.github.com> Date: Wed, 3 Jan 2018 17:41:20 +0100 Subject: [PATCH] Reformat docs --- docs/source/pyrogram.Error.rst | 14 -------------- .../ChatAction.rst} | 4 ++-- .../{pyrogram.Client.rst => pyrogram/Client.rst} | 4 ++-- docs/source/pyrogram/Error.rst | 14 ++++++++++++++ 4 files changed, 18 insertions(+), 18 deletions(-) delete mode 100644 docs/source/pyrogram.Error.rst rename docs/source/{pyrogram.ChatAction.rst => pyrogram/ChatAction.rst} (63%) rename docs/source/{pyrogram.Client.rst => pyrogram/Client.rst} (58%) create mode 100644 docs/source/pyrogram/Error.rst 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