mirror of
https://github.com/Rapptz/discord.py.git
synced 2025-07-06 01:51:59 +00:00
Fix table wrapping
This commit is contained in:
parent
219dae5a56
commit
df57392aea
@ -235,23 +235,28 @@ class Invite(Hashable):
|
|||||||
|
|
||||||
The following table illustrates what methods will obtain the attributes:
|
The following table illustrates what methods will obtain the attributes:
|
||||||
|
|
||||||
+------------------------------------+----------------------------------------------------------+
|
+------------------------------------+----------------------------------+
|
||||||
| Attribute | Method |
|
| Attribute | Method |
|
||||||
+====================================+==========================================================+
|
+====================================+==================================+
|
||||||
| :attr:`max_age` | :meth:`abc.GuildChannel.invites`\, :meth:`Guild.invites` |
|
| :attr:`max_age` | :meth:`abc.GuildChannel.invites` |
|
||||||
+------------------------------------+----------------------------------------------------------+
|
| | :meth:`Guild.invites` |
|
||||||
| :attr:`max_uses` | :meth:`abc.GuildChannel.invites`\, :meth:`Guild.invites` |
|
+------------------------------------+----------------------------------+
|
||||||
+------------------------------------+----------------------------------------------------------+
|
| :attr:`max_uses` | :meth:`abc.GuildChannel.invites` |
|
||||||
| :attr:`created_at` | :meth:`abc.GuildChannel.invites`\, :meth:`Guild.invites` |
|
| | :meth:`Guild.invites` |
|
||||||
+------------------------------------+----------------------------------------------------------+
|
+------------------------------------+----------------------------------+
|
||||||
| :attr:`temporary` | :meth:`abc.GuildChannel.invites`\, :meth:`Guild.invites` |
|
| :attr:`created_at` | :meth:`abc.GuildChannel.invites` |
|
||||||
+------------------------------------+----------------------------------------------------------+
|
| | :meth:`Guild.invites` |
|
||||||
| :attr:`uses` | :meth:`abc.GuildChannel.invites`\, :meth:`Guild.invites` |
|
+------------------------------------+----------------------------------+
|
||||||
+------------------------------------+----------------------------------------------------------+
|
| :attr:`temporary` | :meth:`abc.GuildChannel.invites` |
|
||||||
|
| | :meth:`Guild.invites` |
|
||||||
|
+------------------------------------+----------------------------------+
|
||||||
|
| :attr:`uses` | :meth:`abc.GuildChannel.invites` |
|
||||||
|
| | :meth:`Guild.invites` |
|
||||||
|
+------------------------------------+----------------------------------+
|
||||||
| :attr:`approximate_member_count` | :meth:`Client.fetch_invite` |
|
| :attr:`approximate_member_count` | :meth:`Client.fetch_invite` |
|
||||||
+------------------------------------+----------------------------------------------------------+
|
+------------------------------------+----------------------------------+
|
||||||
| :attr:`approximate_presence_count` | :meth:`Client.fetch_invite` |
|
| :attr:`approximate_presence_count` | :meth:`Client.fetch_invite` |
|
||||||
+------------------------------------+----------------------------------------------------------+
|
+------------------------------------+----------------------------------+
|
||||||
|
|
||||||
If it's not in the table above then it is available by all methods.
|
If it's not in the table above then it is available by all methods.
|
||||||
|
|
||||||
|
2
docs/_static/style.css
vendored
2
docs/_static/style.css
vendored
@ -804,6 +804,7 @@ dd {
|
|||||||
|
|
||||||
table.docutils {
|
table.docutils {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
|
table-layout: fixed;
|
||||||
}
|
}
|
||||||
|
|
||||||
table.docutils.footnote {
|
table.docutils.footnote {
|
||||||
@ -828,6 +829,7 @@ table.docutils tbody tr td {
|
|||||||
border-top: solid 1px var(--table-border);
|
border-top: solid 1px var(--table-border);
|
||||||
padding: 7px 5px;
|
padding: 7px 5px;
|
||||||
vertical-align: top;
|
vertical-align: top;
|
||||||
|
overflow-wrap: break-word;
|
||||||
}
|
}
|
||||||
table.docutils tbody tr:last-child th,
|
table.docutils tbody tr:last-child th,
|
||||||
table.docutils tbody tr:last-child td {
|
table.docutils tbody tr:last-child td {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user