From a760dc6b9b00a6d01ec536f3d960c81fb5b1ab33 Mon Sep 17 00:00:00 2001 From: Xylar Asay-Davis Date: Fri, 18 Oct 2024 22:33:09 -0600 Subject: [PATCH] Fix docs config for version side bar --- docs/conf.py | 19 ++++++++++--------- 1 file changed, 10 insertions(+), 9 deletions(-) diff --git a/docs/conf.py b/docs/conf.py index 2069c4818..b72c49426 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -35,15 +35,16 @@ # Add any Sphinx extension module names here, as strings. They can be # extensions coming with Sphinx (named 'sphinx.ext.*') or your custom # ones. -extensions = ['sphinx.ext.autodoc', - 'sphinx.ext.autosummary', - 'sphinx.ext.intersphinx', - 'sphinx.ext.mathjax', - 'sphinx.ext.viewcode', - 'sphinx.ext.napoleon'] - -# Add any paths that contain templates here, relative to this directory. -templates_path = ["_templates"] +extensions = [ + 'sphinx_rtd_theme', + 'sphinx_multiversion', + 'sphinx.ext.autodoc', + 'sphinx.ext.autosummary', + 'sphinx.ext.intersphinx', + 'sphinx.ext.mathjax', + 'sphinx.ext.viewcode', + 'sphinx.ext.napoleon' +] autosummary_generate = True