From a8b424d6d1f3adf65018ac0c0f2eb33f32cdec26 Mon Sep 17 00:00:00 2001 From: Victor Lin <13424970+victorlin@users.noreply.github.com> Date: Thu, 10 Oct 2024 11:50:05 -0700 Subject: [PATCH] Replace display_version with version_selector In sphinx-rtd-theme version 3.0.0, `display_version` was removed in favor of `version_selector` and `language_selector`. --- src/conf.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/conf.py b/src/conf.py index 2fda185..b1c4734 100644 --- a/src/conf.py +++ b/src/conf.py @@ -66,7 +66,7 @@ html_static_path = ['static'] html_theme_options = { - 'display_version': False, + 'version_selector': False, 'subproject': False, # For new theme versions 'logo_only': True, # For old theme versions 'collapse_navigation': False,