From 0b4a95525b4a767b81300537c312e561ff7fec8e Mon Sep 17 00:00:00 2001 From: Yohann D'ANELLO Date: Thu, 26 Nov 2020 01:07:18 +0100 Subject: [PATCH] Use RTD theme --- docs/conf.py | 3 ++- docs/requirements.txt | 2 ++ 2 files changed, 4 insertions(+), 1 deletion(-) create mode 100644 docs/requirements.txt diff --git a/docs/conf.py b/docs/conf.py index 3bb978fa..51010fc0 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -31,6 +31,7 @@ release = '1.0.1' # 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. @@ -54,7 +55,7 @@ exclude_patterns = ['_build', 'Thumbs.db', '.DS_Store'] # 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/docs/requirements.txt b/docs/requirements.txt new file mode 100644 index 00000000..8d6f607e --- /dev/null +++ b/docs/requirements.txt @@ -0,0 +1,2 @@ +sphinx~=3.3 +sphinx-rtd-theme~=0.5