You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

18 lines
552 B

{%- extends "basic/genindex.html" %}
{% block body %}
{{ super() }}
<!-- Inject some JavaScript to convert the index names into something useful. -->
<script>
let elements = document.querySelectorAll("table.indextable a");
// this is pretty finicky but it should work.
for(let el of elements) {
let key = el.getAttribute('href').split('#', 2)[1]
if(el.textContent.endsWith('method)') || el.textContent.indexOf('()') !== -1) {
key = key + '()'
}
el.textContent = key;
}
</script>
{% endblock %}