aboutsummaryrefslogtreecommitdiff
path: root/docs/_templates
diff options
context:
space:
mode:
authorJosh <[email protected]>2021-01-12 17:34:54 +1000
committerGitHub <[email protected]>2021-01-12 02:34:54 -0500
commitf78f1355050721324997a80aae6e4ad05d6f131d (patch)
tree67196a7fa508785b39fd5ae88bad0a809f58e7e8 /docs/_templates
parent[commands] Correct ChannelNotFound docstring (diff)
downloaddiscord.py-f78f1355050721324997a80aae6e4ad05d6f131d.tar.xz
discord.py-f78f1355050721324997a80aae6e4ad05d6f131d.zip
[matrix] Add scroll to top button
Diffstat (limited to 'docs/_templates')
-rw-r--r--docs/_templates/layout.html4
1 files changed, 4 insertions, 0 deletions
diff --git a/docs/_templates/layout.html b/docs/_templates/layout.html
index 1d6de6d3..2fbf5159 100644
--- a/docs/_templates/layout.html
+++ b/docs/_templates/layout.html
@@ -190,5 +190,9 @@
</div>
</div>
+ <div id="to-top" onclick="scrollToTop()"{%- if READTHEDOCS %} class="is-rtd"{%- endif %} hidden>
+ <span><span class="material-icons">arrow_upward</span> to top</span>
+ </div>
+
</body>
</html>