From 9101f47632dc01019d858ca50fe281146e429de9 Mon Sep 17 00:00:00 2001 From: George Rawlinson Date: Fri, 20 Nov 2020 07:53:28 +1300 Subject: [PATCH] docs: use sphinx-rtd-theme --- docs/conf.py | 14 +++----------- 1 file changed, 3 insertions(+), 11 deletions(-) diff --git a/docs/conf.py b/docs/conf.py index bd34d6d..970d80c 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -1,9 +1,4 @@ -"""Sphinx configuration.""" -# Configuration file for the Sphinx documentation builder. -# -# This file only contains a selection of the most common options. For a full -# list see the documentation: -# https://www.sphinx-doc.org/en/master/usage/configuration.html +"""Configuration file for the Sphinx documentation builder.""" # -- Path setup -------------------------------------------------------------- # If extensions (or modules to document with autodoc) are in another directory, # add these directories to sys.path here. If the directory is relative to the @@ -40,6 +35,7 @@ release = version extensions = [ "sphinx.ext.autodoc", "sphinx.ext.napoleon", + "sphinx_rtd_theme", ] # Add any paths that contain templates here, relative to this directory. @@ -51,16 +47,12 @@ templates_path = ["_templates"] exclude_patterns = ["_build", "Thumbs.db", ".DS_Store"] -# Autoclass configuration -autoclass_content = "both" - - # -- Options for HTML output ------------------------------------------------- # 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,