From ce0bbed75359ddb4ed2d01dd818cfbf6ec2aaf40 Mon Sep 17 00:00:00 2001 From: Alex Root Junior Date: Mon, 14 Aug 2017 23:23:10 +0300 Subject: [PATCH] Restructure docs. --- docs/source/aiogram.rst | 12 ------------ docs/source/{bot => }/bot.rst | 4 ++-- docs/source/dispatcher.rst | 12 ++++++++++++ docs/source/dispatcher/dispatcher.rst | 12 ------------ docs/source/index.rst | 4 +++- docs/source/{bot => }/types.rst | 0 6 files changed, 17 insertions(+), 27 deletions(-) delete mode 100644 docs/source/aiogram.rst rename docs/source/{bot => }/bot.rst (84%) create mode 100644 docs/source/dispatcher.rst delete mode 100644 docs/source/dispatcher/dispatcher.rst rename docs/source/{bot => }/types.rst (100%) diff --git a/docs/source/aiogram.rst b/docs/source/aiogram.rst deleted file mode 100644 index 45af5ba2..00000000 --- a/docs/source/aiogram.rst +++ /dev/null @@ -1,12 +0,0 @@ -API Reference -============= - -Submodules ----------- - - -.. toctree:: - - bot/bot - bot/types - dispatcher/dispatcher diff --git a/docs/source/bot/bot.rst b/docs/source/bot.rst similarity index 84% rename from docs/source/bot/bot.rst rename to docs/source/bot.rst index 44725a2d..62d1afca 100644 --- a/docs/source/bot/bot.rst +++ b/docs/source/bot.rst @@ -5,5 +5,5 @@ For detailed information about parameters read the official `Telegram Bot API re .. toctree:: - base - extended + bot/base + bot/extended diff --git a/docs/source/dispatcher.rst b/docs/source/dispatcher.rst new file mode 100644 index 00000000..225167a5 --- /dev/null +++ b/docs/source/dispatcher.rst @@ -0,0 +1,12 @@ +Dispatcher +========== + +With parts of this package you can manage bot updates. + +.. toctree:: + dispatcher/main + dispatcher/storage + dispatcher/webhook + dispatcher/filters + dispatcher/handler + dispatcher/middlewares diff --git a/docs/source/dispatcher/dispatcher.rst b/docs/source/dispatcher/dispatcher.rst deleted file mode 100644 index 8e1e17d4..00000000 --- a/docs/source/dispatcher/dispatcher.rst +++ /dev/null @@ -1,12 +0,0 @@ -Dispatcher -========== - -With parts of this package you can manage bot updates. - -.. toctree:: - main - storage - webhook - filters - handler - middlewares diff --git a/docs/source/index.rst b/docs/source/index.rst index 54b5b008..1aceb314 100644 --- a/docs/source/index.rst +++ b/docs/source/index.rst @@ -62,7 +62,9 @@ Contents .. toctree:: install quick_start - aiogram + bot + dispatcher + types features diff --git a/docs/source/bot/types.rst b/docs/source/types.rst similarity index 100% rename from docs/source/bot/types.rst rename to docs/source/types.rst