mirror of
https://github.com/readthedocs/sphinx_rtd_theme.git
synced 2025-02-25 18:55:21 -06:00
Change display_version default
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
@@ -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 %}
|
||||
|
||||
@@ -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 =
|
||||
|
||||
Reference in New Issue
Block a user