From ad7bd755b6f86bfad2ceed14707e3fd6fdd18c43 Mon Sep 17 00:00:00 2001 From: Zach Priddy Date: Fri, 10 Apr 2020 09:55:41 -0700 Subject: [PATCH] More Docs --- docs-src/conf.py | 2 +- docs-src/glados.slack_classes.rst | 14 -------------- docs-src/glados.slack_classes.views.rst | 7 ------- docs-src/index.rst | 2 +- docs-src/modules.rst | 11 ++++++++++- docs/_sources/glados.rst.txt | 1 + src/glados/router.py | 2 +- 7 files changed, 14 insertions(+), 25 deletions(-) delete mode 100644 docs-src/glados.slack_classes.rst delete mode 100644 docs-src/glados.slack_classes.views.rst diff --git a/docs-src/conf.py b/docs-src/conf.py index fd483ae..d0de4ca 100644 --- a/docs-src/conf.py +++ b/docs-src/conf.py @@ -32,7 +32,7 @@ "sphinx.ext.napoleon", "sphinx.ext.autodoc", "sphinx_rtd_theme", - "sphinx_autodoc_typehints", + "sphinx.ext.autodoc.typehints", "sphinx.ext.viewcode", "sphinx.ext.autosummary", "sphinx.ext.githubpages", diff --git a/docs-src/glados.slack_classes.rst b/docs-src/glados.slack_classes.rst deleted file mode 100644 index d492b9a..0000000 --- a/docs-src/glados.slack_classes.rst +++ /dev/null @@ -1,14 +0,0 @@ -glados.slack\_classes package -============================= - -.. automodule:: glados.slack_classes - :members: - :undoc-members: - :show-inheritance: - -Submodules ----------- - -.. toctree:: - - glados.slack_classes.views diff --git a/docs-src/glados.slack_classes.views.rst b/docs-src/glados.slack_classes.views.rst deleted file mode 100644 index 3e09638..0000000 --- a/docs-src/glados.slack_classes.views.rst +++ /dev/null @@ -1,7 +0,0 @@ -glados.slack\_classes.views module -================================== - -.. automodule:: glados.slack_classes.views - :members: - :undoc-members: - :show-inheritance: diff --git a/docs-src/index.rst b/docs-src/index.rst index 0f59c1d..f716b5b 100644 --- a/docs-src/index.rst +++ b/docs-src/index.rst @@ -14,7 +14,7 @@ Welcome to GLaDOS's documentation! install glados_structure glados_plugin - modules + glados diff --git a/docs-src/modules.rst b/docs-src/modules.rst index 9138475..d22d926 100644 --- a/docs-src/modules.rst +++ b/docs-src/modules.rst @@ -4,4 +4,13 @@ glados .. toctree:: :maxdepth: 6 - glados + glados.bot + glados.configs + glados.core + glados.errors + glados.message_blocks + glados.plugin + glados.request + glados.route_type + glados.router + glados.utils diff --git a/docs/_sources/glados.rst.txt b/docs/_sources/glados.rst.txt index e25fc4e..247a039 100644 --- a/docs/_sources/glados.rst.txt +++ b/docs/_sources/glados.rst.txt @@ -21,6 +21,7 @@ Submodules glados.bot glados.core glados.errors + glados.configs glados.message_blocks glados.plugin glados.request diff --git a/src/glados/router.py b/src/glados/router.py index 0768d2f..430fa20 100644 --- a/src/glados/router.py +++ b/src/glados/router.py @@ -108,7 +108,7 @@ def route_function(self, route_type: RouteType, route: str) -> Callable: """ return self.get_route(route_type, route) - def exec_route(self, request: GladosRequest): + def exec_route(self, request): """Execute a route function directly Parameters