Skip to content

Commit

Permalink
Replace display_version with version_selector
Browse files Browse the repository at this point in the history
In sphinx-rtd-theme version 3.0.0, `display_version` was removed in favor
of `version_selector` and `language_selector`.
  • Loading branch information
victorlin committed Oct 10, 2024
1 parent 6e19cea commit a8b424d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit a8b424d

Please sign in to comment.