aboutsummaryrefslogtreecommitdiff
path: root/docs/extensions
diff options
context:
space:
mode:
authorRiley Shaw <[email protected]>2020-05-26 02:39:59 +0100
committerGitHub <[email protected]>2020-05-25 21:39:59 -0400
commit3c558af0cb16f8ccc88948e66bc756a4fac34362 (patch)
tree3f5ca694e3ae98e107cffcd670393d820de39433 /docs/extensions
parentMove table JS outside of scrolling (diff)
downloaddiscord.py-3c558af0cb16f8ccc88948e66bc756a4fac34362.tar.xz
discord.py-3c558af0cb16f8ccc88948e66bc756a4fac34362.zip
make documentation sphinx 3.x compatible
Diffstat (limited to 'docs/extensions')
-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