diff --git a/doc/themes/scikit-learn-modern/layout.html b/doc/themes/scikit-learn-modern/layout.html index 6f29cf52f7c91..dae9871ec385a 100644 --- a/doc/themes/scikit-learn-modern/layout.html +++ b/doc/themes/scikit-learn-modern/layout.html @@ -87,15 +87,9 @@ Please cite us if you use the software.

- {%- if meta and meta['globalsidebartoc']|tobool %}
- {{ toctree(maxdepth=2, titles_only=True) }} + {{ toctree() }}
- {%- else %} -
- {{ toc }} -
- {%- endif %}