aboutsummaryrefslogtreecommitdiff
path: root/docs/_templates/genindex.html
diff options
context:
space:
mode:
authorRapptz <[email protected]>2019-06-30 18:59:19 -0400
committerRapptz <[email protected]>2019-06-30 18:59:19 -0400
commitac00fcad771174090beacf2acfbd8af1a88108d0 (patch)
treec93dcf500b4e1045bfe7d3ab0a6fb1b6280ff175 /docs/_templates/genindex.html
parentFix TeamMember.team typehinting (diff)
downloaddiscord.py-ac00fcad771174090beacf2acfbd8af1a88108d0.tar.xz
discord.py-ac00fcad771174090beacf2acfbd8af1a88108d0.zip
Flatten genindex to not group names.
Also better width in the tables.
Diffstat (limited to 'docs/_templates/genindex.html')
-rw-r--r--docs/_templates/genindex.html3
1 files changed, 2 insertions, 1 deletions
diff --git a/docs/_templates/genindex.html b/docs/_templates/genindex.html
index 4faf370c..a5f2262f 100644
--- a/docs/_templates/genindex.html
+++ b/docs/_templates/genindex.html
@@ -17,10 +17,11 @@
key = key.substr(12); // discord.ext.
}
- if(el.textContent.endsWith('method)') || el.textContent.indexOf('()') !== -1) {
+ if(el.textContent.indexOf('()') !== -1) {
key = key + '()'
}
el.textContent = key;
}
+ document.querySelectorAll("td").forEach(el => el.style.width = 'auto');
</script>
{% endblock %}