From dcb87061e8bf05b019beb8126fc86645ddfc299d Mon Sep 17 00:00:00 2001 From: Langston Barrett Date: Tue, 1 Nov 2022 11:22:12 -0400 Subject: [PATCH] doc: Change theme to ReadTheDocs (sphinx_rtd_theme) --- doc/conf.py | 3 ++- doc/requirements.txt | 2 ++ 2 files changed, 4 insertions(+), 1 deletion(-) create mode 100644 doc/requirements.txt diff --git a/doc/conf.py b/doc/conf.py index e3c85fc..9ce10a5 100644 --- a/doc/conf.py +++ b/doc/conf.py @@ -31,6 +31,7 @@ # extensions coming with Sphinx (named 'sphinx.ext.*') or your custom # ones. extensions = [ + "sphinx_rtd_theme", ] # Add any paths that contain templates here, relative to this directory. @@ -47,7 +48,7 @@ # The theme to use for HTML and HTML Help pages. See the documentation for # a list of builtin themes. # -html_theme = '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, diff --git a/doc/requirements.txt b/doc/requirements.txt new file mode 100644 index 0000000..c3b371b --- /dev/null +++ b/doc/requirements.txt @@ -0,0 +1,2 @@ +sphinx==5.3.0 +sphinx-rtd-theme==1.0.0