From 058501a4d131560410baf4dd7164d1990a9e20d9 Mon Sep 17 00:00:00 2001 From: teldufalsari Date: Fri, 29 Sep 2023 16:19:36 +0300 Subject: [PATCH] Change Sphinx theme --- docs/source/conf.py | 5 +++-- requirements.txt | 3 ++- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/docs/source/conf.py b/docs/source/conf.py index 305c3a9..78df05f 100644 --- a/docs/source/conf.py +++ b/docs/source/conf.py @@ -27,9 +27,10 @@ templates_path = ['_templates'] exclude_patterns = [] - # -- Options for HTML output ------------------------------------------------- # https://www.sphinx-doc.org/en/master/usage/configuration.html#options-for-html-output -html_theme = 'alabaster' +import sphinx_nameko_theme +html_theme = 'nameko' +html_theme_path = [sphinx_nameko_theme.get_html_theme_path()] html_static_path = ['_static'] diff --git a/requirements.txt b/requirements.txt index e5733e3..7f9acba 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,3 +1,4 @@ -Sphinx==7.2 +Sphinx==6.2 +sphinx-nameko-theme=0.0.3 mypy==1.5 pylint==2.10