make documentation sphinx 3.x compatible

This commit is contained in:
Riley Shaw
2020-05-26 02:39:59 +01:00
committed by GitHub
parent 2eb9e3bc56
commit 3c558af0cb
2 changed files with 4 additions and 3 deletions

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