aboutsummaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorJosh <[email protected]>2021-06-28 13:43:49 +1000
committerGitHub <[email protected]>2021-06-27 23:43:49 -0400
commit233d10649c8bc39f1ecc2be83df547f3ad6a3f84 (patch)
treee5353b7407415762065654b229543bd5c0773096 /docs
parentremove repeat 'to' in Task.restart doc (diff)
downloaddiscord.py-233d10649c8bc39f1ecc2be83df547f3ad6a3f84.tar.xz
discord.py-233d10649c8bc39f1ecc2be83df547f3ad6a3f84.zip
[docs] Update Sphinx and Fix various references
Co-Authored-By: Riley Shaw <[email protected]>
Diffstat (limited to 'docs')
-rw-r--r--docs/_static/style.css9
-rw-r--r--docs/api.rst2
2 files changed, 7 insertions, 4 deletions
diff --git a/docs/_static/style.css b/docs/_static/style.css
index 0a0bf875..b08ac893 100644
--- a/docs/_static/style.css
+++ b/docs/_static/style.css
@@ -772,8 +772,7 @@ li > blockquote {
/* admonitions */
div.admonition {
- padding: 0 0.8em;
- padding-bottom: 0.8em;
+ padding: 0 0.8em 0.8em 0.8em !important;
margin: 0.8em 0;
border-radius: 2.5px;
border-left-width: 6px;
@@ -783,7 +782,7 @@ div.admonition {
p.admonition-title {
font-weight: bold;
- margin: 0 -0.8rem;
+ margin: 0 -0.8rem !important;
padding: 0.4rem 0.6rem 0.4rem 2.5rem;
position: relative;
-moz-user-select: none;
@@ -1142,6 +1141,10 @@ table.docutils tbody tr td ol.last {
margin-bottom: 0;
}
+.align-default {
+ text-align: left !important;
+}
+
/* hide the welcome text */
section#welcome-to-discord-py > h1 {
display: none;
diff --git a/docs/api.rst b/docs/api.rst
index 90d013f9..1d681c78 100644
--- a/docs/api.rst
+++ b/docs/api.rst
@@ -2236,7 +2236,7 @@ of :class:`enum.Enum`.
.. attribute:: remove_role
- This will remove the :attr:`Integration.role` from the user
+ This will remove the :attr:`StreamIntegration.role` from the user
when their subscription is finished.
.. attribute:: kick