From aa32fb1bbf1582aa7065b5dc6d95c7e5aceb98a5 Mon Sep 17 00:00:00 2001 From: Tobias Gustafsson Date: Mon, 16 Oct 2023 21:49:54 +0200 Subject: [PATCH] Fix Sphinx read the docs build --- docs/source/conf.py | 12 ++---------- requirements.txt | 2 +- 2 files changed, 3 insertions(+), 11 deletions(-) diff --git a/docs/source/conf.py b/docs/source/conf.py index fa3d586..91f90df 100644 --- a/docs/source/conf.py +++ b/docs/source/conf.py @@ -32,6 +32,7 @@ 'sphinx.ext.autodoc', 'sphinx.ext.doctest', 'sphinx.ext.coverage', + 'sphinx_rtd_theme', ] # Add any paths that contain templates here, relative to this directory. @@ -48,7 +49,7 @@ # General information about the project. project = u'Pyrsistent' -copyright = u'2015, Tobias Gustafsson' +copyright = u'2023, Tobias Gustafsson' # The version info for the project you're documenting, acts as replacement for # |version| and |release|, also used in various other places throughout the @@ -104,17 +105,8 @@ # -- Options for HTML output ---------------------------------------------- - -# The theme to use for HTML and HTML Help pages. See the documentation for -# a list of builtin themes. -import sphinx_rtd_theme - html_theme = "sphinx_rtd_theme" -html_theme_path = [sphinx_rtd_theme.get_html_theme_path()] - -# html_theme = 'default' - # Theme options are theme-specific and customize the look and feel of a theme # further. For a list of options available for each theme, see the # documentation. diff --git a/requirements.txt b/requirements.txt index 2743b3e..dcbe42d 100644 --- a/requirements.txt +++ b/requirements.txt @@ -5,7 +5,7 @@ psutil==5.7.0 pyperform pytest Sphinx -sphinx-rtd-theme==0.1.5 +sphinx-rtd-theme tox setuptools>=0.16.1 twine>=3.2