Change display_version default

This commit is contained in:
Manuel Kaufmann
2024-09-17 14:39:06 +02:00
parent 5989b4c273
commit 6ced13d082
3 changed files with 8 additions and 4 deletions

View File

@@ -16,7 +16,7 @@ For example:
'analytics_id': 'G-XXXXXXXXXX', # Provided by Google in your dashboard
'analytics_anonymize_ip': False,
'logo_only': False,
'display_version': True,
'display_version': False,
'prev_next_buttons_location': 'bottom',
'style_external_links': False,
'vcs_pageview_mode': '',
@@ -141,7 +141,11 @@ Miscellaneous options
If ``True``, the version number is shown at the top of the sidebar.
:type: boolean
:default: ``True``
:default: ``False``
.. note::
Changed to default ``False`` on version 3.0.0 in favor to ``version_selector`` and ``language_selector``.
.. confval:: logo_only

View File

@@ -124,7 +124,7 @@
{%- endif %}
</a>
{%- if theme_display_version and theme_flyout_display != "selectors" %}
{%- if theme_display_version %}
{%- set nav_version = version %}
{%- if READTHEDOCS and current_version %}
{%- set nav_version = current_version %}

View File

@@ -13,7 +13,7 @@ navigation_depth = 4
includehidden = True
titles_only =
logo_only =
display_version = True
display_version = False
prev_next_buttons_location = bottom
style_external_links = False
style_nav_header_background =