make documentation sphinx 3.x compatible

This commit is contained in:
Riley Shaw 2020-05-26 02:39:59 +01:00 committed by Rapptz
parent 5bd05b194d
commit ad694d8348

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