8000 DOC: restore index on pages · seckcoder/scikit-learn@fda55b7 · GitHub
[go: up one dir, main page]

Skip to content

Commit fda55b7

Browse files
committed
DOC: restore index on pages
The hack to avoid showing the index kept breaking. I removed it
1 parent d424973 commit fda55b7

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

doc/themes/scikit-learn/layout.html

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -175,8 +175,7 @@ <h3>Citing</h3>
175175
<p>If you use the software, please consider
176176
<a href="about.html#citing-scikit-learn">citing scikit-learn</a>.</p>
177177

178-
<!-- it's 11 when it's empty (?) -->
179-
{%- if (toc|length == 11) and (pagename != 'index') %}
178+
{%- if (pagename 4833 != 'index') %}
180179
<h3>{{ _('This page') }}</h3>
181180
{{ toc }}
182181
{% endif %}

0 commit comments

Comments
 (0)
0