From 477c47318730473f638931a97bfe2adee6315e89 Mon Sep 17 00:00:00 2001 From: Evgeniy Alekseev Date: Wed, 23 Aug 2023 11:52:11 +0300 Subject: [PATCH] force rtd theme Since Aug, 22 rtd doesn't force its theme anymore, leaving it as default --- docs/ahriman.core.http.rst | 21 +++++++++++++++++++++ docs/ahriman.core.rst | 1 + docs/architecture.rst | 1 + docs/conf.py | 3 ++- 4 files changed, 25 insertions(+), 1 deletion(-) create mode 100644 docs/ahriman.core.http.rst diff --git a/docs/ahriman.core.http.rst b/docs/ahriman.core.http.rst new file mode 100644 index 00000000..e2df58a4 --- /dev/null +++ b/docs/ahriman.core.http.rst @@ -0,0 +1,21 @@ +ahriman.core.http package +========================= + +Submodules +---------- + +ahriman.core.http.sync\_http\_client module +------------------------------------------- + +.. automodule:: ahriman.core.http.sync_http_client + :members: + :no-undoc-members: + :show-inheritance: + +Module contents +--------------- + +.. automodule:: ahriman.core.http + :members: + :no-undoc-members: + :show-inheritance: diff --git a/docs/ahriman.core.rst b/docs/ahriman.core.rst index f11f1231..8c3c99eb 100644 --- a/docs/ahriman.core.rst +++ b/docs/ahriman.core.rst @@ -14,6 +14,7 @@ Subpackages ahriman.core.database ahriman.core.formatters ahriman.core.gitremote + ahriman.core.http ahriman.core.log ahriman.core.report ahriman.core.repository diff --git a/docs/architecture.rst b/docs/architecture.rst index 8621e073..6c6077a9 100644 --- a/docs/architecture.rst +++ b/docs/architecture.rst @@ -37,6 +37,7 @@ This package contains everything required for the most of application actions an * ``ahriman.core.database`` is everything including data and schema migrations for database. * ``ahriman.core.formatters`` package provides ``Printer`` sub-classes for printing data (e.g. package properties) to stdout which are used by some handlers. * ``ahriman.core.gitremote`` is a package with remote PKGBUILD triggers. Should not be called directly. +* ``ahriman.core.http`` package provides HTTP clients which can be later used by other classes. * ``ahriman.core.log`` is a log utils package. It includes logger loader class, custom HTTP based logger and access logger for HTTP services with additional filters. * ``ahriman.core.report`` is a package with reporting triggers. Should not be called directly. * ``ahriman.core.repository`` contains several traits and base repository (``ahriman.core.repository.Repository`` class) implementation. diff --git a/docs/conf.py b/docs/conf.py index 38ed6d92..70e6db24 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -42,6 +42,7 @@ release = __version__ extensions = [ "sphinx.ext.autodoc", "sphinx.ext.napoleon", + "sphinx_rtd_theme", "sphinxarg.ext", ] @@ -66,7 +67,7 @@ exclude_patterns = [] # The theme to use for HTML and HTML Help pages. See the documentation for # a list of builtin themes. # -html_theme = "default" if on_rtd else "alabaster" +html_theme = "sphinx_rtd_theme" # Add any paths that contain custom static files (such as style sheets) here, # relative to this directory. They are copied after the builtin static files,