make documentation sphinx 3.x compatible

This commit is contained in:
Riley Shaw authored and Rapptz committed 2020-12-18 21:18:50 -05:00
1 parent 5bd05b194d
commit ad694d8348
1 file changed
+2 -1
+2 -1
View File
@@ -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