Skip to content

Commit f77d606

Browse files
authored
docs: generate index and add it to globaltoc sidebar (#6808)
1 parent 16c683d commit f77d606

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

doc/en/_templates/globaltoc.html

+4
Original file line numberDiff line numberDiff line change
@@ -21,3 +21,7 @@ <h3><a href="{{ pathto(master_doc) }}">{{ _('Table Of Contents') }}</a></h3>
2121
<hr>
2222
{{ toc }}
2323
{%- endif %}
24+
25+
<hr>
26+
<a href="{{ pathto('genindex') }}">Index</a>
27+
<hr>

doc/en/conf.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -208,7 +208,7 @@
208208
html_domain_indices = True
209209

210210
# If false, no index is generated.
211-
html_use_index = False
211+
html_use_index = True
212212

213213
# If true, the index is split into individual pages for each letter.
214214
# html_split_index = False

0 commit comments

Comments
 (0)