aboutsummaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorRiley Shaw <[email protected]>2020-05-26 02:39:59 +0100
committerRapptz <[email protected]>2020-12-18 21:18:50 -0500
commitad694d8348346e73d48c313376ad4ee7906791e8 (patch)
tree864346afae389355a4736b29db138053c0b5d463 /docs
parentMove table JS outside of scrolling (diff)
downloaddiscord.py-ad694d8348346e73d48c313376ad4ee7906791e8.tar.xz
discord.py-ad694d8348346e73d48c313376ad4ee7906791e8.zip
make documentation sphinx 3.x compatible
Diffstat (limited to 'docs')
-rw-r--r--docs/extensions/attributetable.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/docs/extensions/attributetable.py b/docs/extensions/attributetable.py
index 234f944f..548d87a4 100644
--- a/docs/extensions/attributetable.py
+++ b/docs/extensions/attributetable.py
@@ -107,7 +107,8 @@ def build_lookup_table(env):
ignored = {
'data', 'exception', 'module', 'class',
}
- for (fullname, (docname, objtype)) in domain.objects.items():
+
+ for (fullname, _, objtype, docname, _, _) in domain.get_objects():
if objtype in ignored:
continue